Description of the bug
When searching for a very specific term/word on docs.altinn.studio, it presented a long list of unwanted "hits" from small parts of the word I was looking for. The "exact hit" was far down the list of the searches.
Today (19/9-2025) it has suddenly changed its behaviour, because now I get NO hits for the same word.
When I search for only "SSB" I can see that there is documentation for the phrase I was looking for.
If I search for "services.AddSSBClassificationCodelistProvider" instead of "AddSSBClassificationCodelistProvider" it actually finds it right away. It seems like it is trying to find the beginning of the word first, in this case the "word" seems to start with "services". I tested searching for "ategorisering", and again it doesn't really find the word "kategorisering", it mainly returns words starting with "at" like this:
Steps To Reproduce
- Search for AddSSBClassificationCodelistProvider on docs.altinn.studio
or any other part of a word (except the beginning)
Additional Information
See discussion on Slack: https://digdir-samarbeid.slack.com/archives/C02EJ9HKQA3/p1757667323727839
Description of the bug
When searching for a very specific term/word on docs.altinn.studio, it presented a long list of unwanted "hits" from small parts of the word I was looking for. The "exact hit" was far down the list of the searches.
Today (19/9-2025) it has suddenly changed its behaviour, because now I get NO hits for the same word.
When I search for only "SSB" I can see that there is documentation for the phrase I was looking for.
If I search for "services.AddSSBClassificationCodelistProvider" instead of "AddSSBClassificationCodelistProvider" it actually finds it right away. It seems like it is trying to find the beginning of the word first, in this case the "word" seems to start with "services". I tested searching for "ategorisering", and again it doesn't really find the word "kategorisering", it mainly returns words starting with "at" like this:
Steps To Reproduce
or any other part of a word (except the beginning)
Additional Information
See discussion on Slack: https://digdir-samarbeid.slack.com/archives/C02EJ9HKQA3/p1757667323727839