Class Schema
- Namespace
- TantivyDotNet
- Assembly
- TantivyDotNet.dll
The immutable set of fields in an index. Build one with SchemaBuilder, or read an existing index's schema from Schema.
public sealed class Schema
- Inheritance
-
Schema
- Inherited Members
Properties
- Analyzers
The custom analyzers added with AddAnalyzer(string, Analyzer), by name. Built-in tokenizers (
default,raw,en_stem,whitespace) aren't listed.
- Fields
The fields, in declaration order.
- this[string]
Returns the field with this name (case-sensitive).
Methods
- TryGetField(string, out FieldDefinition)
Looks up a field by name (case-sensitive).