# Setting Filter on an Analysed Field

**URL:** <https://discuss.elastic.co/t/setting-filter-on-an-analysed-field/208083>\
**Category:** Elasticsearch\
**Created:** [November 15, 2019, 1:40pm UTC](https://discuss.elastic.co/t/setting-filter-on-an-analysed-field/208083 "2019-11-15T13:40:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Evangelos\_Gkavogiann](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/evangelos_gkavogiann/32/57765_2.png) [@Evangelos\_Gkavogiann](https://discuss.elastic.co/u/Evangelos_Gkavogiann)\
**Post date:** [November 15, 2019, 1:40pm UTC](https://discuss.elastic.co/t/setting-filter-on-an-analysed-field/208083/1 "2019-11-15T13:40:36Z")

</div>

Hi,

I am trying to set a filter on the following field;  
e.Properties.Uri: [https://api.checkout.com/payments/pay\_rtpotpropoepoe](https://api.checkout.com/payments/pay_rtpotpropoepoe)

It is an analysed Field, so it gets tokenized into two tokens: [https://api.checkout.com/payments/](https://api.checkout.com/payments/) and pay\_rtpotpropoepoe  
I can filter out based on the 1st token , i.e.: e.Properties.Uri: "[https://api.checkout.com/payments/](https://api.checkout.com/payments/)"

How could I add another filter for the 2nd token, please?  
When I try with e.Properties.Uri: "pay\_rtpotpropoepoe" nothing is returned

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:** [December 13, 2019, 1:40pm UTC](https://discuss.elastic.co/t/setting-filter-on-an-analysed-field/208083/2 "2019-12-13T13:40:38Z")

</div>

Closed on December 13, 2019, 1:40pm UTC

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