Are you just searching in your code or indexing as well?
Could it be caused because you did not refresh before searching?
--
David ;-)
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
Le 21 mars 2014 à 22:13, Mohit Anchlia mohitanch...@gmail.com a écrit :
The below code doesn't seem to
oh, I forgot refresh. Let me try that. By default it's 1 sec right?
On Fri, Mar 21, 2014 at 2:18 PM, David Pilato da...@pilato.fr wrote:
Are you just searching in your code or indexing as well?
Could it be caused because you did not refresh before searching?
--
David ;-)
Twitter :
Thanks! refresh was the issue. Is there a easy way to find how many
documents are in index using Java API?
On Fri, Mar 21, 2014 at 2:24 PM, Mohit Anchlia mohitanch...@gmail.comwrote:
oh, I forgot refresh. Let me try that. By default it's 1 sec right?
On Fri, Mar 21, 2014 at 2:18 PM, David
client.prepareCount()
--
David ;-)
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
Le 21 mars 2014 à 22:34, Mohit Anchlia mohitanch...@gmail.com a écrit :
Thanks! refresh was the issue. Is there a easy way to find how many documents
are in index using Java API?
On Fri, Mar 21, 2014