# Operator support for full text search

**URL:** <https://discuss.elastic.co/t/operator-support-for-full-text-search/54369>\
**Category:** Elasticsearch\
**Created:** [June 30, 2016, 7:41am UTC](https://discuss.elastic.co/t/operator-support-for-full-text-search/54369 "2016-06-30T07:41:14Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Youxu](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/youxu/32/117375_2.png) [@Youxu](https://discuss.elastic.co/u/Youxu)\
**Post date:** [June 30, 2016, 7:41am UTC](https://discuss.elastic.co/t/operator-support-for-full-text-search/54369/1 "2016-06-30T07:41:14Z")

</div>

Hi ES experts.

Our customer has a requirement of operator support for full text search.

Say, if user search "news have Obama and Putin in it", he/she will get all news mentioned both Putin and Obama

If user search "news that have Putin or Obama", then will get news mentioned either Putin or Obama"

It sounds like an interesting feature which will make the search site different to others.

Is it doable?

---

<div class="post-metadata">

**Author:** ![jprante](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jprante/32/44941_2.png) [@jprante](https://discuss.elastic.co/u/jprante)\
**Post date:** [July 1, 2016, 12:50pm UTC](https://discuss.elastic.co/t/operator-support-for-full-text-search/54369/2 "2016-07-01T12:50:08Z")

</div>

> [@Youxu](#):
>
> Is it doable?

Sure it is doable. Use named entity recognition (NER) on your text and create ES queries from that in your ES client.

An example for a library with support for NER (and other natural language processing methods) is [Overview - CoreNLP](http://stanfordnlp.github.io/CoreNLP/)

I do not use CoreNLP because support for german is lousy.

---

<div class="post-metadata">

**Author:** ![Youxu](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/youxu/32/117375_2.png) [@Youxu](https://discuss.elastic.co/u/Youxu)\
**Post date:** [July 4, 2016, 1:35am UTC](https://discuss.elastic.co/t/operator-support-for-full-text-search/54369/3 "2016-07-04T01:35:44Z")

</div>

Thanks for the hint, so the point is to rely on a good NLP component like StandardFord NLP to work together with Elastic search.

I will take a look into StandardNLP and search for other NLP components.

---

<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 5, 2017, 10:38pm UTC](https://discuss.elastic.co/t/operator-support-for-full-text-search/54369/4 "2017-07-05T22:38:45Z")

</div>


