# Search number between with Full text queries

**URL:** <https://discuss.elastic.co/t/search-number-between-with-full-text-queries/88820>\
**Category:** Elasticsearch\
**Created:** [June 9, 2017, 10:00am UTC](https://discuss.elastic.co/t/search-number-between-with-full-text-queries/88820 "2017-06-09T10:00:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chanpiseth\_Ros](https://avatars.discourse-cdn.com/v4/letter/c/c4cdca/32.png) [@Chanpiseth\_Ros](https://discuss.elastic.co/u/Chanpiseth_Ros)\
**Post date:** [June 9, 2017, 10:00am UTC](https://discuss.elastic.co/t/search-number-between-with-full-text-queries/88820/1 "2017-06-09T10:00:57Z")

</div>

Hi, I have a problem relate with search by using Full text queries, i want to search with the text like this  
"England country, men, 30 to 39 year old"

It's impossible to search the text above with the age between? if can, could you give me a php code?

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [June 9, 2017, 10:19am UTC](https://discuss.elastic.co/t/search-number-between-with-full-text-queries/88820/2 "2017-06-09T10:19:00Z")

</div>

I don't believe you can. It's like understanding a human language and being able to generate a query out of it.

But you can do something close to this like:

```auto
+country:england +gender:male +age:[30 TO 39]

```

---

<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 7, 2017, 10:19am UTC](https://discuss.elastic.co/t/search-number-between-with-full-text-queries/88820/3 "2017-07-07T10:19:13Z")

</div>

Closed on July 7, 2017, 10:19am UTC

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