lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Prasanna Seshadri" <sprasanna...@gmail.com>
Subject Shortest snippet in Search results
Date Thu, 24 May 2007 15:35:08 GMT
Hello users,

I am right now developing an algorithm to calculate the shortest  snippet
from the search results for a given keyword of length n  (from user query).
>From the lucene source I found that there is a  method getBestFragments
which would do the same. However its very  hard to interpret the algorithm
you used for that purpose.  Therefore it would be great if you can share any
pointers to an  pseudo algorithm which would calculate the shortest snippet
from  search results so that it will be useful for me (I am planning to
implement the algorithm in scripting languages like python).

Thanks,
S.Prasanna

-- 
S.Prasanna (ME Comp Science and Engg)
http://www.pythonprasanna.com
http://blogs.sun.com/prasanna
http://www.livejournal.com/~sprasanna199

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message