# Hi! i want to write dynamic query help me!

**URL:** <https://discuss.elastic.co/t/hi-i-want-to-write-dynamic-query-help-me/348895>\
**Category:** Elasticsearch\
**Created:** [December 8, 2023, 1:50pm UTC](https://discuss.elastic.co/t/hi-i-want-to-write-dynamic-query-help-me/348895 "2023-12-08T13:50:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![slowup](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/slowup/32/99097_2.png) [@slowup](https://discuss.elastic.co/u/slowup)\
**Post date:** [December 8, 2023, 1:50pm UTC](https://discuss.elastic.co/t/hi-i-want-to-write-dynamic-query-help-me/348895/1 "2023-12-08T13:50:37Z")

</div>

hi! I want to create logic to create dynamic queries, for example  
("a": "1" or "b": "2" and "h": "3") and ("d": "5" and "e": "6")  
When the above input comes in as a keyword, I want to make it into querydsl.

Like Kibana search!  
Please help!

---

<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 5, 2024, 1:51pm UTC](https://discuss.elastic.co/t/hi-i-want-to-write-dynamic-query-help-me/348895/2 "2024-01-05T13:51:17Z")

</div>

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