Is it possible to do a partial string match with `...
# community-help
p
Is it possible to do a partial string match with
filter_by
? For example, if I have a field
content
with a value of
hello there
, can I filter with
content: hell
to return that document?
j
Not with
filter_by
... Any reason
query_by
won't work? That does prefix matching like you describe
p
Trying to avoid having to do multiple searches. Will have to end up doing multiple I believe. Thanks!
@Todd Tarsi @Viji Vennelakanti
j
On a side note, filter_by has a word-level matching mode. So if you do
filter_by= content:there
(instead of
content:=there
) it will do word-level match and return
hello there
. But the full word needs to be there in filter_by, it doesn't match on prefixes
p
Yupp figured that out! Thanks