Computes a score factor for a phrase.

The default implementation sums the idf factor for each term in the phrase.

Namespace: Lucene.Net.Search
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1

Syntax

C#
public virtual Explanation..::..IDFExplanation idfExplain(
	ICollection terms,
	Searcher searcher
)
Visual Basic
Public Overridable Function idfExplain ( _
	terms As ICollection, _
	searcher As Searcher _
) As Explanation..::..IDFExplanation
Visual C++
public:
virtual Explanation..::..IDFExplanation^ idfExplain(
	ICollection^ terms, 
	Searcher^ searcher
)

Parameters

terms
Type: System.Collections..::..ICollection
the terms in the phrase
searcher
Type: Lucene.Net.Search..::..Searcher
the document collection being searched

Return Value

an IDFExplain object that includes both an idf score factor for the phrase and an explanation for each term.

See Also