Table of Contents

Property OrderBy

Namespace
TantivyDotNet
Assembly
TantivyDotNet.dll

OrderBy

How to order hits: one or more keys, each breaking ties of the previous ones, for example [SortBy.Field("year", descending: true), SortBy.Score()]. Null or empty (the default) orders by relevance, best first. Remaining ties keep index order.

public IReadOnlyList<SortBy>? OrderBy { get; init; }

Property Value

IReadOnlyList<SortBy>