# Dazzled and confused with the \_all field in 6.+

**URL:** https://discuss.elastic.co/t/dazzled-and-confused-with-the--all-field-in-6/96822
**Category:** Elasticsearch
**Created:** [August 11, 2017, 8:01pm UTC](https://discuss.elastic.co/t/dazzled-and-confused-with-the--all-field-in-6/96822 "2017-08-11T20:01:50Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![anon44344346](https://avatars.discourse-cdn.com/v4/letter/a/e56c9b/32.png) [@anon44344346](https://discuss.elastic.co/u/anon44344346)
#### Post date: [August 11, 2017, 8:01pm UTC](https://discuss.elastic.co/t/dazzled-and-confused-with-the--all-field-in-6/96822/1 "2017-08-11T20:01:50Z")

</div>

They say \_all field will be disabled in 6.0+ , and recommend to use "copy\_to" instead.

I don't know a previous knowledge of the fields that are being submitted, just know a few cases I don't want to be included in the \_all field, say "id", "image\_link"and a few others.  
But for any other field, I want to be able to search for it through the \_all field.

I can not use the "copy\_to", because I don't know which name the fields will have.

I've tried using dynamic templates, but I would completely overwrite the default behavior and I don't want that , I just want to "add" the "copy\_to" instruction on top of what the default dynamic mapping mechanism does (i.e., for text fields, add a "keywords" sbfield)

I'm a little stuck here. Any help would be greatly appreciated

---

<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: [August 11, 2017, 10:34pm UTC](https://discuss.elastic.co/t/dazzled-and-confused-with-the--all-field-in-6/96822/2 "2017-08-11T22:34:30Z")

</div>

The reason that we are removing `_all` is that we will have a query that will query all the fields. So the end functionality is the same, just using a more efficient method.

With that in mind, what do you want to do with `_all`?

---

<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 8, 2017, 10:34pm UTC](https://discuss.elastic.co/t/dazzled-and-confused-with-the--all-field-in-6/96822/3 "2017-09-08T22:34:53Z")

</div>

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