lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Devshree Sane <>
Subject Using FastVectorHighlighter for snippets
Date Tue, 21 Sep 2010 18:24:10 GMT
I am using the FastVectorHighlighter for retrieving snippets from the index.

I am a bit confused about the parameters that are passed to the
FastVectorHighlighter.getBestFragments() method. One parameter is a document
id and another is the maximum number of fragments. Does it mean that only
the maximum number of fragments will be retrieved from document with given
id (even if there are more fragments in the same document)?

Is there a way to get the maximum number of fragments over the whole
index(and not just 1 document)?

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