search time interval

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

search time interval

Szymon Gwóźdź
Hi!

Is in ElasticSearch some time interval after which I can be sure that values I've putted are searchable? For example:

1. I put some messages
2. I wait x amount of seconds
3. Now search "is seeing" my messages

Reply | Threaded
Open this post in threaded view
|

Re: search time interval

kimchy
Administrator
By default, the refresh interval in elasticsearch is 1 second (you can configure it to be higher). There is also the indices refresh API to make sure that anything that happened before the API was called is searchable.

cheers,
shay.banon

On Wed, Apr 14, 2010 at 6:25 PM, Szymon Gwóźdź <[hidden email]> wrote:
Hi!

Is in ElasticSearch some time interval after which I can be sure that values I've putted are searchable? For example:

1. I put some messages
2. I wait x amount of seconds
3. Now search "is seeing" my messages