# Wildcard search in field values

**URL:** <https://discuss.elastic.co/t/wildcard-search-in-field-values/45727>\
**Category:** Elasticsearch\
**Created:** [March 29, 2016, 7:28pm UTC](https://discuss.elastic.co/t/wildcard-search-in-field-values/45727 "2016-03-29T19:28:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sush1](https://avatars.discourse-cdn.com/v4/letter/s/da6949/32.png) [@sush1](https://discuss.elastic.co/u/sush1)\
**Post date:** [March 29, 2016, 7:28pm UTC](https://discuss.elastic.co/t/wildcard-search-in-field-values/45727/1 "2016-03-29T19:28:18Z")

</div>

I need to create a token based search query for an index which has multiple valued field.  
Details of the index are added below.  
Is it possible to search the material\_values field to return only the values starting with say "Po"- so that it only returns Porcelain & Pottery?

Request - GET /0/id/37908?\_source=properties.material\_values  
Response - {  
"\_index": "0",  
"\_type": "id",  
"\_id": "37908",  
"\_version": 1,  
"found": true,  
"\_source": {  
"properties": [  
{  
"material\_values": [  
"Bone",  
"Brass",  
"Bronze",  
"Cast Iron",  
"Copper",  
"Glass",  
"Gold",  
"Iron",  
"Lead",  
"Limestone",  
"Marble",  
"Paper",  
"Pewter",  
"Porcelain",  
"Pottery",  
"Sandstone",  
"Stone",  
"Terracota",  
"Tin",  
"Wood"  
]  
}  
]  
}  
}

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 5, 2017, 11:04pm UTC](https://discuss.elastic.co/t/wildcard-search-in-field-values/45727/2 "2017-07-05T23:04:16Z")

</div>

Closed on July 5, 2017, 11:04pm UTC


