# \[Newbie\] Elasticsearch query help

**URL:** <https://discuss.elastic.co/t/newbie-elasticsearch-query-help/20558>\
**Category:** Elasticsearch\
**Created:** [November 4, 2014, 12:58pm UTC](https://discuss.elastic.co/t/newbie-elasticsearch-query-help/20558 "2014-11-04T12:58:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Andrea\_Pagliarani](https://avatars.discourse-cdn.com/v4/letter/a/d9b06d/32.png) [@Andrea\_Pagliarani](https://discuss.elastic.co/u/Andrea_Pagliarani)\
**Post date:** [November 4, 2014, 12:58pm UTC](https://discuss.elastic.co/t/newbie-elasticsearch-query-help/20558/1 "2014-11-04T12:58:56Z")

</div>

Hi, I started using elasticsearch just recently.

Can someone help me to run 3 queries?

1. the first search for all words entered in the search input in the  
, if it finds them all and exactly in that order
2. the second search for one or more words you were looking for, always  
in 
3. the third search for one or more words you search in and  

What functions do you recommend to use to perform these queries?

--  
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/70cdf124-b096-4f74-88eb-0aa657648a5c%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/70cdf124-b096-4f74-88eb-0aa657648a5c%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:52am UTC](https://discuss.elastic.co/t/newbie-elasticsearch-query-help/20558/2 "2017-07-06T00:52:16Z")

</div>

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


