Closed mnaydan closed 5 years ago
I'll let you tell me whether what I've found for number 2 sounds about right or is a bug.
@mnaydan I saw some similar behavior with subtitle matches sometimes showing before title matches but I wasn't sure how much it was happening and wanted to get your eyes on it. Title should be boosted higher than subtitle based on the config I've got, but I looked again and the numbers aren't all that different - I will try changing the boost numbers to really emphasize title over subtitle to see if that makes a difference in this behavior.
@mnaydan updated the test site with different boosting, see what you think. One of my test search terms was lives
and it does seem to be working better, although now a stemmed title match is beating out an unstemmed subtitle match. I thought maybe the unstemmed matches were causing the behavior we saw before with subtitles showing first, and adjusted the boost levels accordingly. Maybe that's ok?
@rlskoeser this does seem way better--I redid the searches I used before, and the "lives" one, and it's definitely prioritizing title over subtitle now. I think I'm fine with stemmed title matches appearing before unstemmed subtitle matches. There's the question of whether quoted single terms (like "lives") should even be yielding stemmed matches at all, but it is generally prioritizing unstemmed matches so I think it's ok if you do.
@mnaydan great, thanks for the careful testing. I think what we have is working pretty well (certainly better than the previous functionality), and we can always revisit later if we want to refine.
Notes for testing