Overload List
Name | Description | |
---|---|---|
![]() | Idf(ICollection, Searcher) | Obsolete. Computes a score factor for a phrase.
The default implementation sums the {@link #Idf(Term,Searcher)} factor
for each term in the phrase.
|
![]() | Idf(Int32, Int32) | Computes a score factor based on a term's document frequency (the number
of documents which contain the term). This value is multiplied by the
{@link #Tf(int)} factor for each term in the query and these products are
then summed to form the initial score for a document.
Terms that occur in fewer documents are better indicators of topic, so
implementations of this method usually return larger values for rare terms,
and smaller values for common terms.
|
![]() | Idf(Term, Searcher) | Obsolete. Computes a score factor for a simple term.
The default implementation is: return idf(searcher.docFreq(term), searcher.maxDoc());Note that {@link Searcher#MaxDoc()} is used instead of {@link Lucene.Net.Index.IndexReader#NumDocs()} because it is proportional to {@link Searcher#DocFreq(Term)} , i.e., when one is inaccurate, so is the other, and in the same direction. |