# Any Word match and Exact match for the same field

**URL:** <https://discuss.elastic.co/t/any-word-match-and-exact-match-for-the-same-field/9157>\
**Category:** Elasticsearch\
**Created:** [September 26, 2012, 12:51pm UTC](https://discuss.elastic.co/t/any-word-match-and-exact-match-for-the-same-field/9157 "2012-09-26T12:51:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Deepak\_Chezhian](https://avatars.discourse-cdn.com/v4/letter/d/8e8cbc/32.png) [@Deepak\_Chezhian](https://discuss.elastic.co/u/Deepak_Chezhian)\
**Post date:** [September 26, 2012, 12:51pm UTC](https://discuss.elastic.co/t/any-word-match-and-exact-match-for-the-same-field/9157/1 "2012-09-26T12:51:07Z")

</div>

Hi,

I want to do an analysed search(like if any of the words in the field  
matches) using match query with fuzziness and use facets of the search  
result to filter the documents(i want to do an exact match in this case).

Is there anyway do the analysed(for any term match) and not analysed(for  
exact match) search on the same field?

Regards,  
Deepak

--

---

<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:** [September 26, 2012, 1:51pm UTC](https://discuss.elastic.co/t/any-word-match-and-exact-match-for-the-same-field/9157/2 "2012-09-26T13:51:27Z")

</div>

I think that you can use multifield feature for that.  
See [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/reference/mapping/multi-field-type.html)  
[http://www.elasticsearch.org/guide/reference/mapping/multi-field-type.html](http://www.elasticsearch.org/guide/reference/mapping/multi-field-type.html)

HTH

Le 26 septembre 2012 à 14:51, Deepak Chezhian [cdeepakcse@gmail.com](mailto:cdeepakcse@gmail.com) a écrit :

> Hi,
> 
> I want to do an analysed search(like if any of the words in the field  
> matches) using match query with fuzziness and use facets of the search result  
> to filter the documents(i want to do an exact match in this case).
> 
> Is there anyway do the analysed(for any term match) and not analysed(for  
> exact match) search on the same field?
> 
> Regards,  
> Deepak
> 
> --

--  
David Pilato  
[http://www.scrutmydocs.org/](http://www.scrutmydocs.org/)  
[http://dev.david.pilato.fr/](http://dev.david.pilato.fr/)  
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

--

---

<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, 3:11am UTC](https://discuss.elastic.co/t/any-word-match-and-exact-match-for-the-same-field/9157/3 "2017-07-06T03:11:18Z")

</div>


