Class UniqueTokenFilter
Filters out tokens with same text as the previous token. This token filter is implemented using Apache Lucene.
Inherited Members
Namespace: System.Dynamic.ExpandoObject
Assembly: Azure.Search.Documents.dll
Syntax
public class UniqueTokenFilter : Azure.Search.Documents.Indexes.Models.TokenFilter
Constructors
UniqueTokenFilter(String)
Initializes a new instance of UniqueTokenFilter.
Declaration
public UniqueTokenFilter (string name);
Parameters
System.String
name
The name of the token filter. It must only contain letters, digits, spaces, dashes or underscores, can only start and end with alphanumeric characters, and is limited to 128 characters. |
Exceptions
System.ArgumentNullException
|
Properties
OnlyOnSamePosition
A value indicating whether to remove duplicates only at the same position. Default is false.
Declaration
public Nullable<bool> OnlyOnSamePosition { get; set; }
Property Value
System.Nullable<System.Boolean>
|