Find answers from the community

Updated last month

Filtering in Query Engine using ismatch

Hi, is there any way to filter in a query_engine using a ismatch like u can do in the normal search? i need to do a regex filter like "search.ismatch('/,.{group},./', 'groups', 'full', 'any')", the field groups is a comma separated field.
W
n
7 comments
does the TEXT_MATCH do like regex or lucene parsing cause i dont want it to do partial matches.

also didnt understood the qdrant filtering
MetadataFilter(key="groups", value="group1", operator=FilterOperator.TEXT_MATCH )
groups = "group1,group2"
like this
@WhiteFang_Jr
Hey, not really sure how filters are matched you'll probably have to check it
Add a reply
Sign up and join the conversation on Discord