Expert: Return the number of unique terms visited during execution of the filter. If there are many of them, you may consider using another filter type or optimize your total term count in index.

This method is not thread safe, be sure to only call it when no filter is running! If you re-use the same filter instance for another search, be sure to first reset the term counter with {@link #clearTotalNumberOfTerms}.

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

Syntax

C#
public virtual int GetTotalNumberOfTerms()
Visual Basic
Public Overridable Function GetTotalNumberOfTerms As Integer
Visual C++
public:
virtual int GetTotalNumberOfTerms()

Return Value

[Missing <returns> documentation for "M:Lucene.Net.Search.MultiTermQueryWrapperFilter.GetTotalNumberOfTerms"]

See Also