lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Koji Sekiguchi <>
Subject Re: Offset Problem
Date Mon, 14 Dec 2009 13:19:38 GMT
Weiwei Wang wrote:
> The offset is incorrect for PatternReplaceCharFilter so the hilighting
> result is wrong.
> How to fix it?
As I noted in the comment of the source, if you produce a phrase from a term
and try to highlight a term in the produced phrase, the highlighted snippet
will be undesirable. This is the feature, unfortunately. But if you try to
highlight whole the produced phrase, the snippet will be desirable.



To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message