What does "AddFallbackToBeginningOfHighlightedText" do?

Vote:
 

Hi,

I have a customer that uses Find, we display the result with what I assume is "highlighted text", meaning a summary of the page where search has hits. 

In some cases some words are concated, the site is in norwegian and an example of the problem:

If i search for the word "billett", I get several hits among them is for the page called "Billett". 

The summary shows this: "Duikkje bruke billetter til eige bruk."

The site has this preamble: "Du skal ikkje bruke billetter til eige bruk."

I suspect that this is what the "AddFallbackToBeginningOfHighlightedText"-method is doing. 

#208574
Edited, Oct 28, 2019 13:31
Vote:
 

Very strange! Do you have some sort of custom «stop word»-implementation, that filters out words like «skal» upon indexing?

Could you verify what is actually indexed for the page? Is it «Duikkje bruke billetter til eige bruk.» or «Du skal ikkje bruke billetter til eige bruk.»

See exploring the index or Inspect in Index.

#208580
Edited, Oct 28, 2019 15:13
Vote:
 

Hi,

I am not sure but there a bug with "AddFallbackToBeginningOfHighlightedText" is already registered so it might be related to the issue that you are facing.

https://world.episerver.com/support/bug-list/bug/FIND-2915

#208599
Oct 28, 2019 17:42
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.