# How to use different analyzer for different fields when put them into \_all

**URL:** <https://discuss.elastic.co/t/how-to-use-different-analyzer-for-different-fields-when-put-them-into--all/78696>\
**Category:** Elasticsearch\
**Created:** [March 15, 2017, 12:01pm UTC](https://discuss.elastic.co/t/how-to-use-different-analyzer-for-different-fields-when-put-them-into--all/78696 "2017-03-15T12:01:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![makeyang](https://avatars.discourse-cdn.com/v4/letter/m/f05b48/32.png) [@makeyang](https://discuss.elastic.co/u/makeyang)\
**Post date:** [March 15, 2017, 12:01pm UTC](https://discuss.elastic.co/t/how-to-use-different-analyzer-for-different-fields-when-put-them-into--all/78696/1 "2017-03-15T12:01:57Z")

</div>

the doc said that:  
The \_all field is a special catch-all field which concatenates the values of all of the other fields into one big string, using space as a delimiter, which is then analyzed and indexed, but not stored

but what I want is below:

field1: analyzerA  
field2: anayzerB  
field3: not\_analyzed

and put these fields into \_all.  
how do I get same tokens in \_all as it gets in field1, field2 and field3?

---

<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:** [April 12, 2017, 12:02pm UTC](https://discuss.elastic.co/t/how-to-use-different-analyzer-for-different-fields-when-put-them-into--all/78696/2 "2017-04-12T12:02:20Z")

</div>

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