Index not refreshed. Query count result not accurate

No I left the default value (1s). BTW I saw your DEVOXX presentation on ES
that inspired me a lot! Thanks for that.

On Wed, May 22, 2013 at 4:54 PM, David Pilato david@pilato.fr wrote:

Did you somehow disable refresh (-1 value)?

--
David :wink:
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 22 mai 2013 à 21:43, Franck garcia.franck@gmail.com a écrit :

If anybody can shed a light on the following strange behavior:
My index is updated every minute using a bulk processor with tens of
documents per cycle. After 40 cycles or so, I noticed that my query doesn't
count the new added documents (I'm using a simple HTTP GET req with the
_search endpoint). It is stuck with the same count of documents until I run
an optimize on the index. The optimization seems to "refresh" the index and
then my query count is accurate again.... until the next cycle kicks in and
then I have to optimize the index again to see the latest docs counted in.
I also noticed that if I query a specific document using its _id in the
HTTP GET request, then ES returns me the document details without having to
use optimize.
I currently using v 0.20.6 with a single shard no replica.

--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearch+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to a topic in the
Google Groups "elasticsearch" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/elasticsearch/wTbgqF-traM/unsubscribe?hl=en-US
.
To unsubscribe from this group and all its topics, send an email to
elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
Franck

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.