aleph
aleph copied to clipboard
Highlight text missing when searchterm is a substring of larger word
When searching for documents, highlights are returned by Elastic for matching text fields. Though when the searchterm is only a part of the word that matched the search query, a highlight won't be included.
For example: searching for test returns a lot of results in which words we're found like test, testing, nowtest etc.. But highlights will only be included for results that include test, for testing and nowtest they are not returned.