Hi,
I've setup Elasticsearch with 1 cluster á 4 nodes.
When I call a simple query like the following one multiple times I get
different hits in the response:
curl -XGET 'http://localhost:9200/index_name/_search?q=term&pretty=true '
What can I do?
--
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 .
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/f32352c2-ea8a-451a-aca9-9c527b2e9ddf%40googlegroups.com .
For more options, visit https://groups.google.com/d/optout .
dadoonet
(David Pilato)
June 18, 2014, 1:19pm
2
Are the results inconsistent?
I mean that you have a different number of documents found each time?
Or you have the same total hits but the first ten hits are different each time?
--
David Pilato | Technical Advocate | Elasticsearch.com
@dadoonet | @elasticsearchfr
Le 18 juin 2014 à 15:05:43, Mathias Gawlista (gawlista@gmail.com ) a écrit:
Hi,
I've setup Elasticsearch with 1 cluster á 4 nodes.
When I call a simple query like the following one multiple times I get different hits in the response:
curl -XGET 'http://localhost:9200/index_name/_search?q=term&pretty=true '
What can I do?
--
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 .
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/f32352c2-ea8a-451a-aca9-9c527b2e9ddf%40googlegroups.com .
For more options, visit https://groups.google.com/d/optout .
--
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 .
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/etPan.53a191cc.5bd062c2.5d8%40MacBook-Air-de-David.local .
For more options, visit https://groups.google.com/d/optout .
I got different total hits and different 10 hits each time.
Am Mittwoch, 18. Juni 2014 15:19:18 UTC+2 schrieb David Pilato:
Are the results inconsistent?
I mean that you have a different number of documents found each time?
Or you have the same total hits but the first ten hits are different each
time?
--
David Pilato | Technical Advocate | Elasticsearch.com
@dadoonet https://twitter.com/dadoonet | @elasticsearchfr
https://twitter.com/elasticsearchfr
Le 18 juin 2014 à 15:05:43, Mathias Gawlista (gawl...@gmail.com
<javascript:>) a écrit:
Hi,
I've setup Elasticsearch with 1 cluster á 4 nodes.
When I call a simple query like the following one multiple times I get
different hits in the response:
curl -XGET 'http://localhost:9200/index_name/_search?q=term&pretty=true '
What can I do?
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 elasticsearc...@googlegroups.com <javascript:>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/f32352c2-ea8a-451a-aca9-9c527b2e9ddf%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/f32352c2-ea8a-451a-aca9-9c527b2e9ddf%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout .
--
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 .
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/98d94442-ac4e-498c-b46f-0e0b1db1809b%40googlegroups.com .
For more options, visit https://groups.google.com/d/optout .
dadoonet
(David Pilato)
June 18, 2014, 3:04pm
4
One or more shard is not up to date I think.
May you had at some point something wrong. Can't you see something strange in logs?
--
David Pilato | Technical Advocate | Elasticsearch.com
@dadoonet | @elasticsearchfr
Le 18 juin 2014 à 15:30:23, Mathias Gawlista (gawlista@gmail.com ) a écrit:
I got different total hits and different 10 hits each time.
Am Mittwoch, 18. Juni 2014 15:19:18 UTC+2 schrieb David Pilato:
Are the results inconsistent?
I mean that you have a different number of documents found each time?
Or you have the same total hits but the first ten hits are different each time?
--
David Pilato | Technical Advocate | Elasticsearch.com
@dadoonet | @elasticsearchfr
Le 18 juin 2014 à 15:05:43, Mathias Gawlista (gawl...@gmail.com ) a écrit:
Hi,
I've setup Elasticsearch with 1 cluster á 4 nodes.
When I call a simple query like the following one multiple times I get different hits in the response:
curl -XGET 'http://localhost:9200/index_name/_search?q=term&pretty=true '
What can I do?
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 .
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/98d94442-ac4e-498c-b46f-0e0b1db1809b%40googlegroups.com .
For more options, visit https://groups.google.com/d/optout .
--
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 .
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/etPan.53a1aa81.4e6afb66.5d8%40MacBook-Air-de-David.local .
For more options, visit https://groups.google.com/d/optout .
1 Like
No strange entries in the log.
As a temporary solution I rebuild the index through Ruby gem tire:
ModelName.rebuild_index
--
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 .
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/4554b1b6-dc2e-4235-9505-8662cbcbc708%40googlegroups.com .
For more options, visit https://groups.google.com/d/optout .