Hello,
What does everyone think about adding a subList(int, int) method to the Hits
class? In all the lucene implementations I usually end up needing a small
section for pagination of the results. So I go from X to Y and put them in
a List and return the List of Documents. Since I seem to al
I'm attempting to compile Lucene with some sandbox code -- specifically
the Berkely DB index storage -- and I'm running into and issue where the
code is attempting to import IndexInput (apparently located in
org.apache.lucene.store.IndexInput) but I can't find it in the source
anywhere. I'm not sur
Sorry to contradict, Erik, but the Highlighter's QueryScorer will make
use of IDF, given a reader, in order to better prioritise which are the
"best" bits of a document.
However, In the particular example given, the criteria includes several
non-text fields which are not useful for IDF and gener
Harini,
I'm not sure I understand what you're asking. IDF doesn't factor
into highlighting.
IDF calculations are useful in scoring documents during a search,
such that the most relevant documents are returned, but again this is
unrelated to highlighting.
Could you elaborate on what you