Hi folks. Whenever you do a search in Splunk you can review the lispy in search.log. For example, if I search for my own username in the main index, the search would look like this
index=main hettervi while the lispy would look like this
[AND index::main hettervi]. However, since when I'm using Norwegian characters
å the words gets segmentet in the lipsy. For example, if I search for the (fictional) Norwegian name "Hælgøvoll" the search would look like this
index=main hælgøvoll, but the lipsy would look like this
[AND index::main h lg voll æ ø]. See the problem?
I've looked through the documentation for segmenters.conf, but as far as I can see there is no mention of Norwegian characters. Anyone got any tips for how to unlist the Norwegian characters as breakers, both at index time and in search time?
I've looked into the case some more. An interesting observation is that searching for
TERM(h*lg*voll) gives no results. This lead me to believe that the Norwegian characters
å are defined as major breakers. However, if this was the case, they wouldn't be listed in the lispy as showed in my initial question. The only explanation I can come up with that explains the observed behavior is that there are some "hidden" major breakers before and after the Norwegian characters
å. I'm not sure if I'm correct in my assumption, and if this is a bug or a feature.
Perhaps. I'll look into it, though the problem isn't that the characters aren't supported, it is that the search head segments the searched words whenever the said characters occur. As far as I know, the generated lispy for a search isn't sourcetype dependent.