# Advice on search strategy

**URL:** <https://discuss.elastic.co/t/advice-on-search-strategy/23415>\
**Category:** Elasticsearch\
**Created:** [April 27, 2015, 11:33am UTC](https://discuss.elastic.co/t/advice-on-search-strategy/23415 "2015-04-27T11:33:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Maarten\_Roosendaal](https://avatars.discourse-cdn.com/v4/letter/m/49beb7/32.png) [@Maarten\_Roosendaal](https://discuss.elastic.co/u/Maarten_Roosendaal)\
**Post date:** [April 27, 2015, 11:33am UTC](https://discuss.elastic.co/t/advice-on-search-strategy/23415/1 "2015-04-27T11:33:47Z")

</div>

Hi,

I'm looking into elasticsearch to replace our current engine. The most  
challenging feature is the 'free text search' and finding relevant hits.  
For our catalogue wide search we currently use _48 fields_ to search  
through like producttitle, author, brand, synonyms, keywords, color,  
platform, etc... I need to verify that we indeed need all those fields but  
let's assume that we do

My idea is to create several indexed fields per field. So for example  
producttitle gets producttitle.not\_analyzed (for exact matches),  
producttitle.partial (for more fuzzy matches), etc... But there are some  
many options to choose from regarding filters, both on the index as on the  
search side.

The set op attributes to search on can be grouped:

- productoriented attributes --\> title, color
- creators of the product --\> names of people
- creators of the product --\> brand
- meta information --\> synonyms, keywords

But i think each groups need there own set of filters but i'm looking for \*advice  
\*on which filters to use and when. Right now i started simple with the  
stemming, stopword and lowercase analyzer on index time. On index time  
because in my experience doing more work upfront helps the performance when  
searching. I also have a good idea which fields are more important so i can  
boost on them (producttitle.not\_analyzed^20)

Hope someone can give me some good pointers based on their experience.

Thanks,  
Maarten

--  
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/183c9751-90a2-4b35-98f9-077dfde8f481%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/183c9751-90a2-4b35-98f9-077dfde8f481%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:17am UTC](https://discuss.elastic.co/t/advice-on-search-strategy/23415/2 "2017-07-06T00:17:38Z")

</div>

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


