# SearchType in ElasticSearch search Query

**URL:** <https://discuss.elastic.co/t/searchtype-in-elasticsearch-search-query/23268>\
**Category:** Elasticsearch\
**Created:** [April 16, 2015, 6:16am UTC](https://discuss.elastic.co/t/searchtype-in-elasticsearch-search-query/23268 "2015-04-16T06:16:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Avinash\_Pandey](https://avatars.discourse-cdn.com/v4/letter/a/9de0a6/32.png) [@Avinash\_Pandey](https://discuss.elastic.co/u/Avinash_Pandey)\
**Post date:** [April 16, 2015, 6:16am UTC](https://discuss.elastic.co/t/searchtype-in-elasticsearch-search-query/23268/1 "2015-04-16T06:16:00Z")

</div>

Hi Guys,

it's my first post here on this group so feel free to make me aware of the  
guidelines if any.

My query is regarding the SearchType QueryAndFetch  
[http://www.elastic.co/guide/en/elasticsearch/reference/1.5/search-request-search-type.html#query-and-fetch](http://www.elastic.co/guide/en/elasticsearch/reference/1.5/search-request-search-type.html#query-and-fetch).  
As far as I understand this is not recommended for end-user use as  
mentioned in the  
document referred. However, this turns out to be the most performant  
setting for us ( All our shards are on the same node) and this is returning  
correct results as well. So both from performance and correctness stand  
point I find it to be the most compelling choice.

I want to understand why exactly is it not recommended then.

Thanks!  
Avinash

--  
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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/05d6f4a5-dbe2-43d6-8b60-8375a054c396%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/05d6f4a5-dbe2-43d6-8b60-8375a054c396%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 12:19am UTC](https://discuss.elastic.co/t/searchtype-in-elasticsearch-search-query/23268/2 "2017-07-06T00:19:24Z")

</div>

Closed on July 6, 2017, 12:19am UTC


