# Natural language processing with elastic search

**URL:** <https://discuss.elastic.co/t/natural-language-processing-with-elastic-search/87170>\
**Category:** Elasticsearch\
**Created:** [May 25, 2017, 7:16pm UTC](https://discuss.elastic.co/t/natural-language-processing-with-elastic-search/87170 "2017-05-25T19:16:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ijaj\_Mulani](https://avatars.discourse-cdn.com/v4/letter/i/8dc957/32.png) [@Ijaj\_Mulani](https://discuss.elastic.co/u/Ijaj_Mulani)\
**Post date:** [May 25, 2017, 7:16pm UTC](https://discuss.elastic.co/t/natural-language-processing-with-elastic-search/87170/1 "2017-05-25T19:16:05Z")

</div>

Hi,  
I wanted to integrate search functionality in my website.

I am using elasticsearch for it, If user searches "Maruti suzkuki under 2 lac" then it has to search cars having brand name "Maruti Suzuki" and price under 2 lac. How can I achieve this?

Types of searches

maruti suzuki under 2 lac  
maruti suzuki 20000km driven  
cars 2015 year model etc.

I have mysql database and i am using logstash for importing data into ES.

version  
ES 5.4  
logstash 5.4

---

<div class="post-metadata">

**Author:** ![Abhilash\_Bolla](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/abhilash_bolla/32/26840_2.png) [@Abhilash\_Bolla](https://discuss.elastic.co/u/Abhilash_Bolla)\
**Post date:** [May 26, 2017, 5:14am UTC](https://discuss.elastic.co/t/natural-language-processing-with-elastic-search/87170/2 "2017-05-26T05:14:47Z")

</div>

You may add an NLP layer before querying Elasticsearch. You may use [wit.ai](http://wit.ai) for the same. This will enable you to recognize the enitites based on which you may build your ES equivalent query.

---

<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:** [June 23, 2017, 5:14am UTC](https://discuss.elastic.co/t/natural-language-processing-with-elastic-search/87170/3 "2017-06-23T05:14:59Z")

</div>

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