pub struct SegmentFiles {
pub row_stats: PathBuf,
pub deletions: PathBuf,
pub term_dict: PathBuf,
pub postings: PathBuf,
pub store: PathBuf,
pub meta: PathBuf,
pub vectors: PathBuf,
pub sparse: PathBuf,
pub positions: PathBuf,
pub fast: PathBuf,
pub chunks: PathBuf,
}Expand description
Paths for segment files
Fields§
§row_stats: PathBufEncoded per-row text presence and exact token counts for compaction.
deletions: PathBufImmutable row visibility, when this ID owns a deletion generation.
term_dict: PathBuf§postings: PathBuf§store: PathBuf§meta: PathBuf§vectors: PathBufDense vector indexes (all fields in one file)
sparse: PathBufSparse vector posting lists (per field, per dimension)
positions: PathBufToken positions for phrase queries (fields with record_positions=true)
fast: PathBufFast-field columnar storage for O(1) doc→value access
chunks: PathBufVirtual-id → (doc, ordinal, length) maps of chunked text fields
Implementations§
Source§impl SegmentFiles
impl SegmentFiles
pub fn new(segment_id: u128) -> Self
Sourcepub fn seismic_partition(&self, partition: usize) -> PathBuf
pub fn seismic_partition(&self, partition: usize) -> PathBuf
Immutable nomination partition shared by all Seismic fields.
Sourcepub fn seismic_partitions(&self) -> impl Iterator<Item = PathBuf> + '_
pub fn seismic_partitions(&self) -> impl Iterator<Item = PathBuf> + '_
Fixed nomination partition paths, independently of sparse field count.
Auto Trait Implementations§
impl Freeze for SegmentFiles
impl RefUnwindSafe for SegmentFiles
impl Send for SegmentFiles
impl Sync for SegmentFiles
impl Unpin for SegmentFiles
impl UnsafeUnpin for SegmentFiles
impl UnwindSafe for SegmentFiles
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> DropFlavorWrapper<T> for T
impl<T> DropFlavorWrapper<T> for T
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T, W> HasTypeWitness<W> for Twhere
W: MakeTypeWitness<Arg = T>,
T: ?Sized,
impl<T, W> HasTypeWitness<W> for Twhere
W: MakeTypeWitness<Arg = T>,
T: ?Sized,
Source§impl<T> Identity for Twhere
T: ?Sized,
impl<T> Identity for Twhere
T: ?Sized,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more