Crate tantivy [] [src]

Modules

collector
directory
postings
query
schema

Structs

DocAddress
Document

Tantivy's Document is the object that can be indexed and then searched for.

Index
ScoredDoc
Searcher
SegmentReader
Term
TimerTree

Enums

Error
SegmentPostingsOption

Traits

Directory

There is currently two implementations of Directory - RAMDirectory

DocSet
Postings

Type Definitions

DocId

u32 identifying a document within a segment. Document gets their doc id assigned incrementally, as they are added in the segment.

Result
Score

f32 the score of a document.

SegmentLocalId

A segment local id identifies a segment. It only makes sense for a given searcher.