Hi all, I have attempted to search for term “incl...
# community-help
l
Hi all, I have attempted to search for term “incline bench press”, the most relevant result is 8th in the list. What are my options to improve it and make it 1st ideally?
j
@Lukas Visinskis I see Incline Bench Press in all the previous results as well. So from a textual relevance perspective they're all identical and tied. Do you have any other numerical parameters in each record that can help break the tie?
l
@Jason Bosco At the moment I haven’t got any number to rank them. Out of thousands of exercises, I assume I would only need to rank about 100. Can I make it work by only ranking these 100 or all of the documents would need to be ranked?
j
@Lukas Visinskis You can set the score to say 0 for all the others, and make it work that way
Btw, are you looking to boost particular records only for certain keywords? If so, you might also find the overrides feature useful: https://typesense.org/docs/0.22.2/api/curation.html
a
I was doing validation for tie-breaking when sorting results and found that specifying 3 different fields is breaking the ordering completely, the result set is broken when specifying 3 fields. Created an issue here: https://github.com/typesense/typesense/issues/690
j
Hmmm, could you try replicating this on 0.24.0.rc29?
There was one sort_by bug that we addressed there, wondering if that fixes this issue as well