Table of Contents

Class LexicalOptionsAttribute

Namespace
DataStax.AstraDB.DataApi.Core
Assembly
DataStax.AstraDB.DataApi.dll

Specifies lexical analysis options for a collection.

[AttributeUsage(AttributeTargets.Class, AllowMultiple = false)]
public class LexicalOptionsAttribute : Attribute, _Attribute
Inheritance
LexicalOptionsAttribute
Implements
Inherited Members

Constructors

LexicalOptionsAttribute()

Initializes a new instance of LexicalOptionsAttribute with default settings.

public LexicalOptionsAttribute()

Properties

CharacterFilters

The character filters to apply before tokenization.

public string[] CharacterFilters { get; set; }

Property Value

string[]

Filters

The token filters to apply during lexical analysis.

public string[] Filters { get; set; }

Property Value

string[]

TokenizerArgumentsJson

Additional tokenizer arguments as a JSON string.

public string TokenizerArgumentsJson { get; set; }

Property Value

string

TokenizerName

The name of the tokenizer to use. Defaults to "standard".

public string TokenizerName { get; set; }

Property Value

string