# How to use \<\> these brackets for search in kibana

**URL:** <https://discuss.elastic.co/t/how-to-use-these-brackets-for-search-in-kibana/258075>\
**Category:** Kibana\
**Created:** [December 9, 2020, 5:15am UTC](https://discuss.elastic.co/t/how-to-use-these-brackets-for-search-in-kibana/258075 "2020-12-09T05:15:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Krishna\_Sai\_Nag\_G](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/krishna_sai_nag_g/32/80467_2.png) [@Krishna\_Sai\_Nag\_G](https://discuss.elastic.co/u/Krishna_Sai_Nag_G)\
**Post date:** [December 9, 2020, 5:15am UTC](https://discuss.elastic.co/t/how-to-use-these-brackets-for-search-in-kibana/258075/1 "2020-12-09T05:15:25Z")

</div>

Enables the \<\> operators. You can use \<\> to match a numeric range. For example:

foo\<1-100\> # matches 'foo1', 'foo2' ... 'foo99', 'foo100'  
foo\<01-100\> # matches 'foo01', 'foo02' ... 'foo99', 'foo100'

How to write query for this type of words,  
If i search for foo\<1-100\>

i need to get the result as foo1,foo2,foo3................

Can anyone, please explain how to write query.

---

<div class="post-metadata">

**Author:** ![flash1293](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/flash1293/32/41227_2.png) [@flash1293](https://discuss.elastic.co/u/flash1293)\
**Post date:** [December 9, 2020, 12:24pm UTC](https://discuss.elastic.co/t/how-to-use-these-brackets-for-search-in-kibana/258075/2 "2020-12-09T12:24:26Z")

</div>

This can be done using Lucene - make sure your search bar is set to Lucene instead of KQL (this is shown to the right in the search bar - you can change it by clicking it).

---

<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 6, 2021, 12:24pm UTC](https://discuss.elastic.co/t/how-to-use-these-brackets-for-search-in-kibana/258075/3 "2021-01-06T12:24:35Z")

</div>

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