MaxOccurrenceCountPerTerm

SearchOptions.MaxOccurrenceCountPerTerm property

Gets or sets the maximum number of occurrences of each term in a search query. The default value is 2000000000.

public int MaxOccurrenceCountPerTerm { get; set; }

Property Value

The maximum number of occurrences of each term in a search query.

Exceptions

exception condition
ArgumentOutOfRangeException The value is less than 1.

See Also