Hi, 

> From: Kadlabalu, Hareesh [mailto:[EMAIL PROTECTED] 

> However, in order to really do it correctly, one needs to get 
> to the 'best'
> part field's text where the density of searched word(s) is 
> highest. This could be a very expensive process. Does Lucene 
> give any help is achieving this? 

You need the Highlighter package.
http://svn.apache.org/viewcvs.cgi/lucene/java/trunk/contrib/highlighter/src/
java/org/apache/lucene/search/highlight/package.html?view=markup

http://svn.apache.org/viewcvs.cgi/lucene/java/trunk/contrib/highlighter/

Pasha Bizhan


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to