# Analyzer Hybrid ES 1.4.4

**URL:** https://discuss.elastic.co/t/analyzer-hybrid-es-1-4-4/48390
**Category:** Elasticsearch
**Created:** [April 26, 2016, 7:26am UTC](https://discuss.elastic.co/t/analyzer-hybrid-es-1-4-4/48390 "2016-04-26T07:26:11Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Dom\_Sie](https://avatars.discourse-cdn.com/v4/letter/d/9e8a1a/32.png) [@Dom\_Sie](https://discuss.elastic.co/u/Dom_Sie)
#### Post date: [April 26, 2016, 7:26am UTC](https://discuss.elastic.co/t/analyzer-hybrid-es-1-4-4/48390/1 "2016-04-26T07:26:11Z")

</div>

Hi,

we use ES 1.4.4 and at the moment use the standard analyzer to convert a string into a series of tokens by seperating the words at special characters/punctuation- or no analyzer to search for exact matches.

We now need a hybrid of the standard analyzer and to search for exact matches.  
As an an example: Field = Hostname.  
In this field a string 'vpn-muc' can be stored. On the one hand the tokens 'vpn' and 'muc' must be formed and be searchable - on the other hand the search for the whole string/exact match 'vpn-muc' must be searchable too.  
How to implement this requirement most skillfully?

thx

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [April 26, 2016, 8:07am UTC](https://discuss.elastic.co/t/analyzer-hybrid-es-1-4-4/48390/2 "2016-04-26T08:07:10Z")

</div>

[https://www.elastic.co/guide/en/elasticsearch/reference/1.4/\_multi\_fields.html](https://www.elastic.co/guide/en/elasticsearch/reference/1.4/_multi_fields.html) most likely.

---

<div class="post-metadata">

### Author: ![Dom\_Sie](https://avatars.discourse-cdn.com/v4/letter/d/9e8a1a/32.png) [@Dom\_Sie](https://discuss.elastic.co/u/Dom_Sie)
#### Post date: [April 26, 2016, 8:10am UTC](https://discuss.elastic.co/t/analyzer-hybrid-es-1-4-4/48390/3 "2016-04-26T08:10:10Z")

</div>

thx 🙂

okay, i define the fields as multi\_fields and then use multi-match-querys with the most\_fields type. This can be a good way.

---

<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:56pm UTC](https://discuss.elastic.co/t/analyzer-hybrid-es-1-4-4/48390/4 "2017-07-05T22:56:20Z")

</div>


