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: Chinese words highlighting
Date Sat, 07 Jul 2007 15:12:31 GMT
One possibility I can think of is that you are using CJKAnalyzer and 
Lucene 2.0 or previous version.
The combination of those cannot highlight CJK keywords correctly.
If this is your case, try StandardAnalyzer or upgrading Lucene 2.1/2.2 
and its CJKAnalyzer and highlighter.

Also check:
http://issues.apache.org/jira/browse/LUCENE-627

Hope this helps,

Koji

Lee Li Bin wrote:
>  
>
> Hi,
>
>  
>
> Anyone knows how to highlight Chinese character? When I do the highlight, it
> tends to highlight the whole sentence instead of the keywords.
>
> For Chinese highlighting, do I need to use the TermVector in order to
> highlight the correct keywords?
>
>  
>
> Thanks
>
>  
>
>
>   


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