lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Koji Sekiguchi <k...@r.email.ne.jp>
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.

Koji

-- 
http://www.rondhuit.com/en/


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message