# Query string used search

**URL:** <https://discuss.elastic.co/t/query-string-used-search/134422>\
**Category:** Elasticsearch\
**Created:** [June 4, 2018, 12:34pm UTC](https://discuss.elastic.co/t/query-string-used-search/134422 "2018-06-04T12:34:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Boney\_Jacob](https://avatars.discourse-cdn.com/v4/letter/b/258eb7/32.png) [@Boney\_Jacob](https://discuss.elastic.co/u/Boney_Jacob)\
**Post date:** [June 4, 2018, 12:34pm UTC](https://discuss.elastic.co/t/query-string-used-search/134422/1 "2018-06-04T12:34:28Z")

</div>

Hi,

We are using elasticsearch 6.2 with kuromoji tokenizer.  
How to use default\_operator in query\_string with phrase\_prefix?

Now we are using phrase\_prefix with query\_string and default operator as "AND", but now space between words are not considered as "AND" operator. In our application we needs default operator,

Now we got the different results in the following condition  
"keyword1 keyword2" and "keyword1 AND keyword2"

---

<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 2, 2018, 12:34pm UTC](https://discuss.elastic.co/t/query-string-used-search/134422/2 "2018-07-02T12:34:34Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
