Hey hannes, the simplest solution here is maybe using a second field that is for highlighting only. This field would then store your content without the payloads. The other way would be stripping off the payloads during rendering which is not a nice option I guess. Since I am not a highlighter expert there might be better options though maybe you can write a custom fragmenter or something like that.
simon On Sat, Jul 9, 2011 at 6:33 PM, Hannes Korte <hannes.ko...@iais.fraunhofer.de> wrote: > Hi, > > I'm trying to use the DelimitedPayloadTokenFilter for a field, which I want > to be highlighted. Unfortunately, the resulting snippets contain the > original payload strings, e.g. "token|0.5". Is there a way to clean the > stored string, which is used by the highlighter? > > Thanks in advance! > Hannes >