1pub mod analyzer_binding;
12pub use analyzer_binding::{AnalyzerBindingOwner, BoundAnalyzerRevision, FieldAnalyzerBinding};
13
14pub mod backend;
15pub mod block_max_index;
16pub mod btree_index;
17pub mod catalog_index_keys;
18mod value_index_key;
19pub use value_index_key::{ValueIndexEntry, ValueIndexKey};
20pub mod catalog;
21pub mod clustered_postings;
22pub mod document_store;
23pub mod encryption_key;
24pub use encryption_key::StorageEncryptionKey;
25pub mod hnsw_index;
26pub mod index_abc;
27pub mod index_manager;
28pub mod index_types;
29pub mod inverted_index;
30pub mod ivf_index;
31pub mod key_value;
32pub mod mvcc;
33#[cfg(any(windows, all(unix, not(target_os = "emscripten"))))]
34#[allow(unsafe_code)]
35pub mod native_file;
37pub mod notifications;
38pub mod read_control;
39mod read_only_snapshot;
40pub use read_only_snapshot::ReadOnlySnapshot;
41pub mod spatial_index;
42pub mod statistics_maintenance;
43pub mod temporary_file;
44pub mod term_key;
45pub mod transaction;
46pub mod vector_index;
47
48pub use backend::{
49 PersistentStorageBackend, PersistentStorageIdentity, PersistentStorageProvider,
50 PersistentStorageSession, StorageBackendError, StorageBackendResult, StorageSavepointId,
51 StorageSessionAffinity, StorageSessionMismatch, StorageTransactionModel,
52};
53pub use block_max_index::{BlockMaxIndex, BlockMaxScorer, DEFAULT_BLOCK_SIZE};
54pub use btree_index::BTreeIndex;
55pub use catalog::{
56 sequence_value_reservation, CatalogCacheRevisions, CatalogFacade, CatalogIndexRow,
57 ColumnStatsInput, ColumnStatsRow, EdgeRow, ForeignTableRow, GraphEntityFilter, GraphEntityKind,
58 GraphSnapshot, GraphVertexRow, RelationIdentity, RelationKind, RelationSecurityRow,
59 SchemaAclEntry, SchemaPrivileges, SchemaRow, SequenceAclEntry, SequenceOptions, SequenceOwner,
60 SequenceOwnerDependency, SequencePrivileges, SequenceReservationResult, SequenceRow,
61 SequenceSecurityRow, SequenceSetValueResult, SequenceValuePosition, SequenceValueReservation,
62 TableAclEntry, TablePrivileges, TableSchema, VectorFieldSchema, ViewRow, MAX_GRAPH_ID_PAGE,
63};
64pub use clustered_postings::{
65 MaterializedPostingCursor, PostingCursor, PostingScore, POSTING_CLUSTER_DOCS,
66};
67pub use document_store::{
68 DocumentMetadata, DocumentStore, MemoryDocumentStore, RetainedDocumentFields,
69 RetainedDocumentPage, RetainedDocumentStore, RetainedDocumentStoreBuilder,
70 RetainedStoredDocument, SharedDocumentRow, StoredDocument,
71};
72pub use hnsw_index::HNSWIndex;
73pub use index_abc::Index;
74pub use index_manager::{BTreeIndexHandle, IndexManager};
75pub use index_types::{IndexDef, IndexType};
76pub use inverted_index::{AnalyzerPhase, InvertedIndex, MemoryInvertedIndex};
77pub use ivf_index::{IVFIndex, IVFState};
78pub use key_value::{
79 KeyValueBatch, KeyValueCatalog, KeyValueDocumentStore, KeyValueInvertedIndex,
80 KeyValueStorageBackend, KeyValueStore, KeyValueVectorIndex, MemoryKeyValueStore,
81};
82pub use spatial_index::{haversine_distance, MemorySpatialIndex, SpatialIndex};
83pub use term_key::TokenTermKey;
84pub use transaction::{InMemoryTransaction, Snapshotable, TransactionError, TxResult};
85pub use vector_index::{
86 cosine_similarity, HNSWIndexParams, IVFIndexParams, MemoryVectorIndex, VectorIndex,
87 VectorIndexOpenMode, VectorIndexSpec,
88};
89
90mod fts_index_stat;
91pub use fts_index_stat::FtsIndexStat;