# Numeric fulltext search query for the field type String

**URL:** <https://discuss.elastic.co/t/numeric-fulltext-search-query-for-the-field-type-string/10991>\
**Category:** Elasticsearch\
**Created:** [March 4, 2013, 10:54am UTC](https://discuss.elastic.co/t/numeric-fulltext-search-query-for-the-field-type-string/10991 "2013-03-04T10:54:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ankitc](https://avatars.discourse-cdn.com/v4/letter/a/e9bcb4/32.png) [@ankitc](https://discuss.elastic.co/u/ankitc)\
**Post date:** [March 4, 2013, 10:54am UTC](https://discuss.elastic.co/t/numeric-fulltext-search-query-for-the-field-type-string/10991/1 "2013-03-04T10:54:19Z")

</div>

I am having hard time with fulltext search for number search. Below is the mentioned scenario.

Mappings :

"licenseNum": {  
"type": "string",  
"analyzer": "keyword"  
}

Sample data which is stored in licenseNum field are **AX101** , **450CB** , 9999, etc. I am able to do fulltext search for AX101 & 450CB **but not able to search 9999.**

**I have tried this with not analyzed & numeric\_detection : false , but had no luck.**

Please help me to solve this problem.

Thanks,  
Ankit

---

<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, 2:48am UTC](https://discuss.elastic.co/t/numeric-fulltext-search-query-for-the-field-type-string/10991/2 "2017-07-06T02:48:37Z")

</div>


