A minor bug regarding minimum word length and snippet highlights
-
Hi Mikko,
I don’t know if this has been reported already but I have noticed the following unwanted behaviour with snippet highlights.
Although words shorter than the defined minimum length are not indexed, they will nevertheless be highlighted in custom search result snippets unless you add them as stop words.
For instance, it happens when you do a search like “ruby on rails” where every occurrence of “on” in the snippet will be highlighted, regardless of its relevance to the main keywords (even showing as highlighted inside words containing the two letter sequence, e.g., like “beyond”, “font” and so on…)
Adding “on” to the stop words’ list solves the problem, however.
A minor bug indeed.
- The topic ‘A minor bug regarding minimum word length and snippet highlights’ is closed to new replies.