Table of Contents

Property Fields

Namespace
TantivyDotNet
Assembly
TantivyDotNet.dll

Fields

The stored fields to return in each hit's Document, or null (the default) for all of them. Fewer fields means less to decode and copy per hit; an empty list returns no fields and skips the document store entirely (unless Snippets are requested).

public IReadOnlyList<string>? Fields { get; init; }

Property Value

IReadOnlyList<string>

Remarks

Each name must be a stored field, or the search throws TantivyException with InvalidArgument.