Lucene.Net.Search.MultiTermQuery.ClearTotalNumberOfTerms C# (CSharp) Method

ClearTotalNumberOfTerms() public method

Expert: Resets the counting of unique terms. Do this before executing the query/filter.
public ClearTotalNumberOfTerms ( ) : void
return void
		public virtual void  ClearTotalNumberOfTerms()
		{
			numberOfTerms = 0;
		}
		

Usage Example

コード例 #1
0
 /// <summary> Expert: Resets the counting of unique terms.
 /// Do this before executing the filter.
 /// </summary>
 /// <seealso cref="getTotalNumberOfTerms">
 /// </seealso>
 public virtual void  ClearTotalNumberOfTerms()
 {
     query.ClearTotalNumberOfTerms();
 }