# Boosting non synonyms in a cross field query

**URL:** <https://discuss.elastic.co/t/boosting-non-synonyms-in-a-cross-field-query/57039>\
**Category:** Elasticsearch\
**Created:** [August 2, 2016, 4:39pm UTC](https://discuss.elastic.co/t/boosting-non-synonyms-in-a-cross-field-query/57039 "2016-08-02T16:39:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![joshforbes](https://avatars.discourse-cdn.com/v4/letter/j/a4c791/32.png) [@joshforbes](https://discuss.elastic.co/u/joshforbes)\
**Post date:** [August 2, 2016, 4:39pm UTC](https://discuss.elastic.co/t/boosting-non-synonyms-in-a-cross-field-query/57039/1 "2016-08-02T16:39:57Z")

</div>

I have a cross\_fields query that uses a wordnet analyzer on all its fields. I would like to have some way to boost query results that match the entered keyword exactly, instead of a synonym. So my thought was that I could map these same fields with a standard analyzer and add them to the fields. My hope was that this would give the results that matched the words in the standard fields a higher score. However I am not sure I can do this, the docs say:

`For the cross_fields query type to work optimally, all fields should have the same analyzer. Fields that share an analyzer are grouped together as blended fields.`

`If you include fields with a different analysis chain, they will be added to the query in the same way as for best_fields. For instance, if we added the title field to the preceding query (assuming it uses a different analyzer), the explanation would be as follows:`

Any thoughts on the right way to achieve this?

---

<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:30pm UTC](https://discuss.elastic.co/t/boosting-non-synonyms-in-a-cross-field-query/57039/2 "2017-07-05T22:30:39Z")

</div>


