Property Lenient
- Namespace
- TantivyDotNet
- Assembly
- TantivyDotNet.dll
Lenient
Whether to drop the parts of the text that can't be parsed (unbalanced quotes or parentheses, unknown fields, bad ranges) instead of throwing QueryParseException. Use it for text typed by end users. Default false.
public bool Lenient { get; init; }
Property Value
Remarks
Text that nests parentheses or NOT more than 32 levels deep isn't parsed at all: it
matches nothing when lenient, and throws QueryParseException otherwise.