Hi all,
If I have an elasticsearch index with a single shard and 0 replicas. Will
specifying a document-type part of the match_all query help in performance
(i.e narrowing down the result-set)?
i.e 'http://localhost:9200/my-index/my-doc-type/_search vs
'http://localhost:9200/my-index/_search
--
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/0c5865dd-6aa7-466b-8006-5a2e3cfef139%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
This is what I found from the documentation
"When we search for documents of a particular type, Elasticsearch simply
uses a filter on the _type field to restrict results to documents of that
type."
So it seems the answer is yes.
On Friday, November 21, 2014 8:36:28 PM UTC+5:30, Ajay Divakaran wrote:
Hi all,
If I have an elasticsearch index with a single shard and 0 replicas. Will
specifying a document-type part of the match_all query help in performance
(i.e narrowing down the result-set)?
i.e 'http://localhost:9200/my-index/my-doc-type/_search vs '
http://localhost:9200/my-index/_search
--
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/d32ddedd-8bba-4218-819f-a34fe0cae956%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.