# SearchDoubt in research with compound terms, but part of the term is equal to other searches

**URL:** https://discuss.elastic.co/t/searchdoubt-in-research-with-compound-terms-but-part-of-the-term-is-equal-to-other-searches/109352
**Category:** Elasticsearch
**Created:** [November 28, 2017, 9:33am UTC](https://discuss.elastic.co/t/searchdoubt-in-research-with-compound-terms-but-part-of-the-term-is-equal-to-other-searches/109352 "2017-11-28T09:33:34Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![RafaelPosthaus](https://avatars.discourse-cdn.com/v4/letter/r/73ab20/32.png) [@RafaelPosthaus](https://discuss.elastic.co/u/RafaelPosthaus)
#### Post date: [November 28, 2017, 9:33am UTC](https://discuss.elastic.co/t/searchdoubt-in-research-with-compound-terms-but-part-of-the-term-is-equal-to-other-searches/109352/1 "2017-11-28T09:33:34Z")

</div>

Good morning, how are you?

I own an application where my e-commerce products search directly into my ElasticSearch database.  
As our segment is Clothing, I have a situation, I wonder if you can help me. Before the doubt I would like to remind you that the language used is the Brazilian Portuguese.

I have descriptive of products like the three examples below:  
Vestido Meia Malha  
Meia  
Vestido Meia Manga

But when I mount the query, and search for Meia, the expected result would be primarily the products with descriptive = "Meia", but that does not hold.

Do you have any tips to solve this?

thankful

---

<div class="post-metadata">

### Author: ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)
#### Post date: [November 28, 2017, 9:48am UTC](https://discuss.elastic.co/t/searchdoubt-in-research-with-compound-terms-but-part-of-the-term-is-equal-to-other-searches/109352/2 "2017-11-28T09:48:19Z")

</div>

Could you provide a full recreation script as described in

> [@About the Elasticsearch category](https://discuss.elastic.co/t/about-the-elasticsearch-category/21):
>
> The heart of the free and open Elastic Stack Elasticsearch is a distributed, RESTful search and analytics engine capable of addressing a growing number of use cases. As the heart of the Elastic Stack, it centrally stores your data for lightning fast search, fine‑tuned relevancy, and powerful analytics that scale with ease. warning PLEASE READ THIS SECTION IF IT'S YOUR FIRST POST Some useful links: [elasticsearch reference guide](http://www.elastic.co/guide/en/elasticsearch/reference/current/index.html)[elasticsearch user guide](http://www.elastic.co/guide/en/elasticsearch/guide/current/index.html)[elasticsearch plugins](https://www.elastic.co/guide/en/elasticsearch/plugins/current/index.html)[elasticsearch cl…](https://www.elastic.co/guide/en/elasticsearch/client/index.html)

It will help to better understand what you are doing.  
Please, try to keep the example as simple as possible.

---

<div class="post-metadata">

### Author: ![Vitaly\_il](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vitaly_il/32/130964_2.png) [@Vitaly\_il](https://discuss.elastic.co/u/Vitaly_il)
#### Post date: [November 28, 2017, 1:01pm UTC](https://discuss.elastic.co/t/searchdoubt-in-research-with-compound-terms-but-part-of-the-term-is-equal-to-other-searches/109352/3 "2017-11-28T13:01:25Z")

</div>

I hope this [https://www.timroes.de/2016/05/29/elasticsearch-kibana-queries-in-depth-tutorial/](https://www.timroes.de/2016/05/29/elasticsearch-kibana-queries-in-depth-tutorial/)  
will help you, especially "unanalyzed data" vs "analyzed dataset".

---

<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: [December 26, 2017, 1:01pm UTC](https://discuss.elastic.co/t/searchdoubt-in-research-with-compound-terms-but-part-of-the-term-is-equal-to-other-searches/109352/4 "2017-12-26T13:01:26Z")

</div>

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