# Re: Fulltext search by number

**URL:** <https://discuss.elastic.co/t/re-fulltext-search-by-number/8351>\
**Category:** Elasticsearch\
**Created:** [July 9, 2012, 4:51am UTC](https://discuss.elastic.co/t/re-fulltext-search-by-number/8351 "2012-07-09T04:51:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![richie\_yan](https://avatars.discourse-cdn.com/v4/letter/r/e79b87/32.png) [@richie\_yan](https://discuss.elastic.co/u/richie_yan)\
**Post date:** [July 9, 2012, 4:51am UTC](https://discuss.elastic.co/t/re-fulltext-search-by-number/8351/1 "2012-07-09T04:51:16Z")

</div>

try to use  
'[http://localhost:9200/index/type/\_search?q=phonenormal:"80297894512"&pretty=true](http://localhost:9200/index/type/_search?q=phonenormal:%2280297894512%22&pretty=true)'  
maybe it works!

On Thursday, July 5, 2012 4:37:27 PM UTC+8, Ashot Galstyan wrote:

> Good day. At our project we have the following issue.
> 
> There's a string field "phonenormal" that contains phone numbers. We've  
> got  
> a record with data like this "80297894512 7272".
> 
> So when we try to make a fulltext search like  
> curl -XGET  
> '  
> [http://localhost:9200/index/type/\_search?q=phonenormal:80297894512&pretty=true](http://localhost:9200/index/type/_search?q=phonenormal:80297894512&pretty=true)'
> 
> we got nothing.
> 
> If we shorten the phone number to 8029789451 and search  
> curl -XGET  
> '  
> [http://localhost:9200/index/type/\_search?q=phonenormal:8029789451&pretty=true](http://localhost:9200/index/type/_search?q=phonenormal:8029789451&pretty=true)'
> 
> the record is returned correctly.
> 
> The other values for phonenormal like 29789, 0297894512, 7272 give correct  
> result too.
> 
> Could you help to solve the problem?
> 
> --  
> View this message in context:  
> [http://elasticsearch-users.115913.n3.nabble.com/Fulltext-search-by-number-tp4020113.html](http://elasticsearch-users.115913.n3.nabble.com/Fulltext-search-by-number-tp4020113.html)  
> Sent from the Elasticsearch Users mailing list archive at [Nabble.com](http://Nabble.com).

---

<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, 3:21am UTC](https://discuss.elastic.co/t/re-fulltext-search-by-number/8351/2 "2017-07-06T03:21:05Z")

</div>


