Property IgnoreUnknownFields
- Namespace
- TantivyDotNet
- Assembly
- TantivyDotNet.dll
IgnoreUnknownFields
Whether document properties that aren't schema fields are silently dropped. Default false:
adding such a document throws TantivyException with
InvalidArgument, which catches typos and casing mistakes
(field names are case-sensitive, so new { Title = "x" } doesn't fill a title field).
public bool IgnoreUnknownFields { get; init; }