SearchModelFactory.ElisionTokenFilter Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Removes elisions. For example, "l'avion" (the plane) will be converted to "avion" (plane). This token filter is implemented using Apache Lucene.
public static Azure.Search.Documents.Indexes.Models.ElisionTokenFilter ElisionTokenFilter(string name = default, System.Collections.Generic.IEnumerable<string> articles = default);
static member ElisionTokenFilter : string * seq<string> -> Azure.Search.Documents.Indexes.Models.ElisionTokenFilter
Public Shared Function ElisionTokenFilter (Optional name As String = Nothing, Optional articles As IEnumerable(Of String) = Nothing) As ElisionTokenFilter
Parameters
- name
- String
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.
- articles
- IEnumerable<String>
The set of articles to remove.
Returns
A new ElisionTokenFilter instance for mocking.