lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Riccardo Daviddi <rdavi...@gmail.com>
Subject how to get the snippet?
Date Mon, 01 Aug 2005 13:37:51 GMT
Hy all,

which is the way to get a snippet of a query?
Does Lucene offer some explicit methods?
If is not so, it's possible to know the position of the matched
keyword in the query into the field of the doc, so that I can take
some words before and after the keyword to create the snippet?
Or there is a smarter way to get the snippet?

thx in advance!
-- 
Riccardo Daviddi
University of Siena - Information Engeneering
rdaviddi@gmail.com

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