TLDR chase asked if sorting parameters could be combined in geosearch. Jason suggested using the `precision` parameter for this purpose.
Jason quick question for you regarding geosearch / sorting of results! is there any chance that we can combine sorting parameters?
i can sort by text similarity, and by distance, and have one or the other break a tie
i’m curious right now if there is a kind of way to “blend” the sorting of those two if that makes sense
Yup, the `precision` parameter might help:
It essentially forces a tie between all records within each specified x miles/kms bucket, and then the next field in the sort_by will be used for tie breaking within each bucket
exactly what i was looking for thanks!
Indexed 3051 threads
Lightning-fast, open source search engine for everyone | Knowledge Base powered by Struct.AI