Class Analyzer.LexicalFilter
java.lang.Object
com.datastax.astra.client.core.lexical.Analyzer.LexicalFilter
- Enclosing class:
Analyzer
Definition of filters and tokenizers
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAdds an argument to the filter.Sets the arguments for the filter.Sets the name of the filter.
-
Constructor Details
-
LexicalFilter
public LexicalFilter()Default constructor.
-
-
Method Details
-
name
Sets the name of the filter.- Parameters:
name- the name of the filter- Returns:
- current reference
-
args
Sets the arguments for the filter.- Parameters:
args- the arguments for the filter- Returns:
- current reference
-
addArg
Adds an argument to the filter.- Parameters:
key- the key of the argumentvalue- the value of the argument- Returns:
- current reference
-