Hi,
Lucene is not a data store. You should store data in file system / DB and
store only the reference key and data related to display summary results as
part of Lucene.
Usually in most application, once the search is performed list of search
results with just few information will be displayed. O
int numDocs = filterIndexReader.numDocs();
...
idf = Math.log10((double) numDocs / docFreq);
Sethu_424 wrote
>
>
wrong formula. numDoc should not be a count of documents in index - but
documents containing searching term.
We need something like IndexReader.docFreq( term );
--
View this messa