lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Weiwei Wang <ww.wang...@gmail.com>
Subject Re: Offset Problem
Date Mon, 14 Dec 2009 13:29:51 GMT
got it, thanks, Koji

On Mon, Dec 14, 2009 at 9:19 PM, Koji Sekiguchi <koji@r.email.ne.jp> wrote:

> 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
>
>


-- 
Weiwei Wang
Alex Wang
王巍巍
Room 403, Mengmin Wei Building
Computer Science Department
Gulou Campus of Nanjing University
Nanjing, P.R.China, 210093

Homepage: http://cs.nju.edu.cn/rl/weiweiwang

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message