got it, thanks, Koji On Mon, Dec 14, 2009 at 9:19 PM, Koji Sekiguchi <k...@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-unsubscr...@lucene.apache.org > For additional commands, e-mail: java-user-h...@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