# Is it possible to boost exact (standard) search when phonetic analyzer is used on the field?

**URL:** https://discuss.elastic.co/t/is-it-possible-to-boost-exact-standard-search-when-phonetic-analyzer-is-used-on-the-field/145240
**Category:** Elasticsearch
**Created:** [August 20, 2018, 8:49pm UTC](https://discuss.elastic.co/t/is-it-possible-to-boost-exact-standard-search-when-phonetic-analyzer-is-used-on-the-field/145240 "2018-08-20T20:49:44Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![porunov](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/porunov/32/32268_2.png) [@porunov](https://discuss.elastic.co/u/porunov)
#### Post date: [August 20, 2018, 8:49pm UTC](https://discuss.elastic.co/t/is-it-possible-to-boost-exact-standard-search-when-phonetic-analyzer-is-used-on-the-field/145240/1 "2018-08-20T20:49:44Z")

</div>

I have a document with the field "name" which has a phonetic analyzer.  
It works well, but I would like to see exact matches (standard) on the top of the page. Is there a possibility to use two analyzers in the same field or some other solution?

I thought about just adding a duplicate field in the document like "name. exact" or something like that, but it is a little bit complicated in my situation because in such case I will have an additional non useful duplicate field which is always equal to "name" and I will need to add additional logic in my application to duplicate the field whenever I need to analyze the same field with two analyzers.

Is there any other solution?

Best regards

---

<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: [August 20, 2018, 11:23pm UTC](https://discuss.elastic.co/t/is-it-possible-to-boost-exact-standard-search-when-phonetic-analyzer-is-used-on-the-field/145240/2 "2018-08-20T23:23:46Z")

</div>

Have a look at [https://www.elastic.co/guide/en/elasticsearch/reference/current/multi-fields.html](https://www.elastic.co/guide/en/elasticsearch/reference/current/multi-fields.html)

---

<div class="post-metadata">

### Author: ![porunov](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/porunov/32/32268_2.png) [@porunov](https://discuss.elastic.co/u/porunov)
#### Post date: [August 21, 2018, 7:03am UTC](https://discuss.elastic.co/t/is-it-possible-to-boost-exact-standard-search-when-phonetic-analyzer-is-used-on-the-field/145240/3 "2018-08-21T07:03:12Z")

</div>

Thank you very much! It's what I need.

---

<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: [September 18, 2018, 7:03am UTC](https://discuss.elastic.co/t/is-it-possible-to-boost-exact-standard-search-when-phonetic-analyzer-is-used-on-the-field/145240/4 "2018-09-18T07:03:16Z")

</div>

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