hi! does Typesense support some sort of slop param...
# community-help
b
hi! does Typesense support some sort of slop param ala Elasticsearch and others, to set a max allowed distance between two tokens? I know those that are closer will rank higher in the pulled results but others will be retrieved as well and might be not that relevant in reality
e
k
We don't have a way to define this for text search.
👍 1
b
@Elliot Sawyer thanks for your reply, but I'm afraid this is a different think. What I was referring was if I search for "foo bar" I want to set a max distance between those two tokens so that for example given the corpus"*foo* lorem ipsum dolor sit amet, consectetur adipiscing elit bar" it is not pulled because those tokens are too far one from the other. @Kishore Nallan thanks for the clarification!
👍 1
e
Ah yep, distance_threshold will only work with vector search 👍