Expert: Returns the number of documents containing
CopyC#
term
. Called by search code to compute term weights.

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

Syntax

C#
int DocFreq(
	Term term
)
Visual Basic
Function DocFreq ( _
	term As Term _
) As Integer
Visual C++
int DocFreq(
	Term^ term
)

Parameters

term
Type: Lucene.Net.Index..::..Term

[Missing <param name="term"/> documentation for "M:Lucene.Net.Search.Searchable.DocFreq(Lucene.Net.Index.Term)"]

Return Value

[Missing <returns> documentation for "M:Lucene.Net.Search.Searchable.DocFreq(Lucene.Net.Index.Term)"]

See Also