All Low add-ons are now owned by EEHarbor. Read the blog post.

Support archive

Low Search giving 0 score if matching with loose_ends=right.

Brianna 6 Nov 2014 19:23 problem, rejected

Using Low Search 3.2.0 with loose_ends="right". I have an entry with the word "websites" in a searchable field. If I search using the term "websites" it will correctly display this entry and it will have a score greater than zero.

However, if I search for "website" it will return this entry because loose_ends=right, but the score will be zero.

This doesn't seem intuitive to me. If "website" matches "websites" and shows up in the search results, it should have a score greater than zero.

Is this intended behavior? Is there a workaround for this?

Replies

  1. Low 7 Nov 2014 08:09

    This is due to the nature of how MySQL's full-text algorithms calculate the relevance score. This is somewhat of a black-box, so I have no real influence on how it comes to certain scores. So, in a way, this is intended, because it's MySQL itself that comes up with it, not a calculation on my part.