Hey all, just a small question. Anyone know if the...
# community-help
t
Hey all, just a small question. Anyone know if there is a way to query multiple required strings on a single field using the
q
parameter?
j
You want to set drop_tokens_threshold to 0 and/or surround the search terms with "quotes"
t
Oh wow, thatโ€™s super straightforward. Thanks!
๐Ÿ‘ 1
j
Btw, I assumed you're only setting a single field in
query_by
t
Ruh roh! I was going to use two. Does that break it?
j
If you have multiple fields in
query_by
, then the only other way to do what you want to do is to use
filter_by=field:word1
t
Hm. What happens if I have two fields? In this case, Iโ€™m okay with the matches being in either field/
j
๐Ÿš€ 1
t
Sweet! We are good to roll then. Thank you again sir, nice piece of software!
๐Ÿ‘ 1
๐Ÿ˜„ 1
Hah, I was going to ask another question, but you actually answered it here already. If I want to do a filter_by clause on a string, can I do an includes type of operation? The answer is yes, you do
filter_by=field:word1
โž• 1