mirror of
https://github.com/quickwit-oss/tantivy.git
synced 2026-01-14 21:12:54 +00:00
17 lines
293 B
Rust
17 lines
293 B
Rust
pub mod writer;
|
|
pub mod reader;
|
|
pub mod codec;
|
|
pub mod searcher;
|
|
pub mod index;
|
|
pub mod merger;
|
|
|
|
use std::error;
|
|
use std::io;
|
|
|
|
pub fn convert_to_ioerror<E: 'static + error::Error + Send + Sync>(err: E) -> io::Error {
|
|
io::Error::new(
|
|
io::ErrorKind::InvalidData,
|
|
err
|
|
)
|
|
}
|