# Mapping with doc\_values set true but searching with wildcard not performed

**URL:** <https://discuss.elastic.co/t/mapping-with-doc-values-set-true-but-searching-with-wildcard-not-performed/161787>\
**Category:** Elasticsearch\
**Created:** [December 21, 2018, 5:29am UTC](https://discuss.elastic.co/t/mapping-with-doc-values-set-true-but-searching-with-wildcard-not-performed/161787 "2018-12-21T05:29:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![saktara](https://avatars.discourse-cdn.com/v4/letter/s/53a042/32.png) [@saktara](https://discuss.elastic.co/u/saktara)\
**Post date:** [December 21, 2018, 5:29am UTC](https://discuss.elastic.co/t/mapping-with-doc-values-set-true-but-searching-with-wildcard-not-performed/161787/1 "2018-12-21T05:29:27Z")

</div>

I'm creating mapping of elasticsearch index by enabled doc\_values set to true and field type as keyword but searching message contained with relevant keyword as wildcard  
see only there is no words to search

EX: message: data is correct with mapping  
search as cor\* in searching tab but it shows no words but there is a word in correct.

set doc\_values as false in mapping searching performed perfectly.

pls any answer reply as fast!!!!!  
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:** [January 18, 2019, 5:29am UTC](https://discuss.elastic.co/t/mapping-with-doc-values-set-true-but-searching-with-wildcard-not-performed/161787/2 "2019-01-18T05:29:28Z")

</div>

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