# Use query parameters to change token filter behavior for the given query

**URL:** <https://discuss.elastic.co/t/use-query-parameters-to-change-token-filter-behavior-for-the-given-query/245851>\
**Category:** Elasticsearch\
**Created:** [August 21, 2020, 4:46am UTC](https://discuss.elastic.co/t/use-query-parameters-to-change-token-filter-behavior-for-the-given-query/245851 "2020-08-21T04:46:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dtchesno](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dtchesno/32/44993_2.png) [@dtchesno](https://discuss.elastic.co/u/dtchesno)\
**Post date:** [August 21, 2020, 4:46am UTC](https://discuss.elastic.co/t/use-query-parameters-to-change-token-filter-behavior-for-the-given-query/245851/1 "2020-08-21T04:46:38Z")

</div>

I understand it's not what normally happens. But I'm curious, is there a pattern to pass config to token filter for the given query?  
E.g. I could have plugin with custom query builder and analyzer/filters. I want to apply query request params to slightly tweak filter outcome. Thank you!

---

<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:** [September 18, 2020, 4:46am UTC](https://discuss.elastic.co/t/use-query-parameters-to-change-token-filter-behavior-for-the-given-query/245851/2 "2020-09-18T04:46:51Z")

</div>

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