Hi elastic wizards.
I have in my code base an ids query, and I need to add filtering capabilities to the query i.e. in addition to the ids filter, I need to be able to add additional term based filters.
Is there a way to achieve that in ids query? do I need to rewrite the query as a bool query (or any other type)? If so - What will it look like?
I'm using elastic 7.
This is my current query (inside the "query" clause):
ids: {
values: [
'id1','id2'...]
}
Thanks!