Answer the question
In order to leave comments, you need to log in
How to create a function to create dynamic queries to elasticsearch?
There is bodybuilder . - it is convenient for them to create some kind of static queries.
Maybe there are some implementation examples for building dynamic queries on top of this or how can this be implemented?
Answer the question
In order to leave comments, you need to log in
What is the problem with making dynamic queries with this lib?
Task - depending on the set of input data, make a query to the database?
As far as I can see, each method returns a builder that can be put into some kind of variable.
At the end, call build on this and send it to the server.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question