Property SortBy
- Namespace
- TantivyDotNet
- Assembly
- TantivyDotNet.dll
SortBy
Stores documents in the order of a fast field (u64, i64, f64, date, text or bytes) instead of insertion order, or null (the default) for insertion order. Searches sorted by that field can then stop early. Must be Field(string, bool), not a score.
[Experimental("TDN0001")]
public SortBy? SortBy { get; init; }
Property Value
Remarks
Experimental: Tantivy removed index sorting in 0.22 and restored it in 0.27, so it may change or go away in a future version.