Don't miss out Virtual Happy Hour this Friday (April 26).

Try our conversational search powered by Generative AI!

What does "AddFallbackToBeginningOfHighlightedText" do?



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. 

Edited, Oct 28, 2019 13:31

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.

Edited, Oct 28, 2019 15:13


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.

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.