# Copy\_to doesn't show up search using \_all

**URL:** <https://discuss.elastic.co/t/copy-to-doesnt-show-up-search-using--all/25347>\
**Category:** Elasticsearch\
**Created:** [July 10, 2015, 6:56pm UTC](https://discuss.elastic.co/t/copy-to-doesnt-show-up-search-using--all/25347 "2015-07-10T18:56:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Fei\_Yao](https://avatars.discourse-cdn.com/v4/letter/f/85e7bf/32.png) [@Fei\_Yao](https://discuss.elastic.co/u/Fei_Yao)\
**Post date:** [July 10, 2015, 6:56pm UTC](https://discuss.elastic.co/t/copy-to-doesnt-show-up-search-using--all/25347/1 "2015-07-10T18:56:03Z")

</div>

I'm using ElasticSearch v1.6, and running on t2.medium AWS EC2.

Here is my simple mapping

PUT /my\_index/\_mapping/contact  
{  
"contact": {  
"dynamic" : "strict",  
"index\_analyzer": "index\_analyzer",  
"properties": {  
"name": {  
"type": "string",  
"copy\_to": "orig"  
},  
"title": {  
"type": "string",  
"copy\_to": "orig"  
},  
"orig": {  
"type": "string",  
"index\_analyzer": "index\_orig\_analyzer",  
"include\_in\_all": true  
}  
}  
}  
}

I won't be able to search out values in orig using the following search query. But if I change from "\_all" to "orig" it will work.

GET /my\_index/contact/\_search  
{  
"query": {  
"match": {  
"\_all": "test"  
}  
}  
}

Any idea why it's like this?  
Thanks

---

<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, 12:02am UTC](https://discuss.elastic.co/t/copy-to-doesnt-show-up-search-using--all/25347/2 "2017-07-06T00:02:17Z")

</div>


