mirror of
https://github.com/quickwit-oss/tantivy.git
synced 2026-05-29 22:50:41 +00:00
25 lines
500 B
Rust
25 lines
500 B
Rust
pub mod writer;
|
|
pub mod searcher;
|
|
pub mod index;
|
|
pub mod merger;
|
|
|
|
mod segment_serializer;
|
|
mod segment_writer;
|
|
mod segment_reader;
|
|
mod segment_id;
|
|
mod segment_component;
|
|
|
|
pub use self::segment_component::SegmentComponent;
|
|
use std::error;
|
|
use std::io;
|
|
|
|
pub use self::segment_id::SegmentId;
|
|
pub use self::segment_reader::SegmentReader;
|
|
|
|
pub fn convert_to_ioerror<E: 'static + error::Error + Send + Sync>(err: E) -> io::Error {
|
|
io::Error::new(
|
|
io::ErrorKind::InvalidData,
|
|
err
|
|
)
|
|
}
|