You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#1539 introduces TermSetQuery which is a nice addition to the already supported query types.
In Quickwit, we rely on tantivy query grammar and then we use tantivy query parser to build a Box<dyn Query>. The query parser does not currently use the TermSetQuery so we can't benefit from it in Quickwit.
I'm not sure how to handle that, either in Quickwit or in tantivy. In tantivy I see 2 possible solutions:
add a specific operator in the query grammar to activate the TermSetQuery, something like field_name IN [1,2,3]
when parsing the query, find terms query on the same field and create a `TermSetQuery``
I like the first solution as it would provide a nice way for the user to express this type of query. Any thoughts on this @fulmicoton?
The text was updated successfully, but these errors were encountered:
#1539 introduces
TermSetQuery
which is a nice addition to the already supported query types.In Quickwit, we rely on tantivy query grammar and then we use tantivy query parser to build a
Box<dyn Query>
. The query parser does not currently use theTermSetQuery
so we can't benefit from it in Quickwit.I'm not sure how to handle that, either in Quickwit or in tantivy. In tantivy I see 2 possible solutions:
field_name IN [1,2,3]
I like the first solution as it would provide a nice way for the user to express this type of query. Any thoughts on this @fulmicoton?
The text was updated successfully, but these errors were encountered: