mirror of
https://github.com/quickwit-oss/tantivy.git
synced 2026-05-14 07:10:42 +00:00
Convert SegmentReader, InvertedIndexReader and postinglists to traits. Add special functions to pushdown certain performance methods to keep them strictly typed. We rely on a ObjectSafeCodec contraption to avoid the proliferation of generics. That object's point is to make sure we can build TermScorer with a concrete codec specific type before reboxing it. (same thing for PhraseScorer). fix performance regression: fix incorrect scorer cast for buffered union bock wand