lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Miles Barr <mi...@runtime-collective.com>
Subject Re: Obtaining the contexts of hits
Date Thu, 10 Mar 2005 09:19:55 GMT
The highligher contrib package does what you're looking for:

http://svn.apache.org/repos/asf/lucene/java/trunk/contrib/highlighter/

By default it breaks the document into chunks roughly 100 characters
long. You can alter it to get tens words either side of the matched
term.



-- 
Miles Barr <miles@runtime-collective.com>
Runtime Collective Ltd.


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