We have about 20 fields to search on:
- some fields are more important than others (product_title and author are more important than synonyms or color)
- some fields can get exact matched (product_title or author)
- some fields can never match exactly (color, synonyms) on their own but can only add to relevance of the query (looking for 'red vacuumcleaner' is more relevant if producttitle is 'vacuumcleaner' and color is 'red'
How can i compose questions with this kind of priority for fields. I know i can create a termquery with an exact match first on product_title or author AND a multimatch query on all fields with a boost per field. But how can i make sure that exact matches are always more relevant in such a query withour having the need to make 2 seperate queries.