Method Analyze
- Namespace
- TantivyDotNet
- Assembly
- TantivyDotNet.dll
Analyze(string, string)
Runs text through a tokenizer of this index and returns the resulting
terms, to check what a field indexes or how query text is analyzed.
public IReadOnlyList<string> Analyze(string tokenizer, string text)
Parameters
tokenizerstringA built-in tokenizer or a custom analyzer of the schema (see Analyzers).
textstringThe text to analyze.
Returns
Exceptions
- TantivyException
With InvalidArgument if there is no such tokenizer.