Skip to content

Commit

Permalink
update tantivy
Browse files Browse the repository at this point in the history
  • Loading branch information
PSeitz committed Oct 30, 2023
1 parent 601c231 commit ebc0a31
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 19 deletions.
30 changes: 19 additions & 11 deletions quickwit/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion quickwit/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ quickwit-serve = { version = "0.6.3", path = "./quickwit-serve" }
quickwit-storage = { version = "0.6.3", path = "./quickwit-storage" }
quickwit-telemetry = { version = "0.6.3", path = "./quickwit-telemetry" }

tantivy = { git = "https://github.com/quickwit-oss/tantivy/", rev = "ecb9a89", default-features = false, features = [
tantivy = { git = "https://github.com/quickwit-oss/tantivy/", rev = "1dda2bb", default-features = false, features = [
"mmap",
"lz4-compression",
"zstd-compression",
Expand Down
6 changes: 2 additions & 4 deletions quickwit/quickwit-indexing/src/actors/merge_executor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,9 @@ use quickwit_proto::metastore::{
};
use quickwit_query::get_quickwit_fastfield_normalizer_manager;
use quickwit_query::query_ast::QueryAst;
use tantivy::directory::{DirectoryClone, MmapDirectory, RamDirectory};
use tantivy::directory::{Advice, DirectoryClone, MmapDirectory, RamDirectory};
use tantivy::tokenizer::TokenizerManager;
use tantivy::{
Advice, DateTime, Directory, Index, IndexMeta, IndexWriter, SegmentId, SegmentReader,
};
use tantivy::{DateTime, Directory, Index, IndexMeta, IndexWriter, SegmentId, SegmentReader};
use tokio::runtime::Handle;
use tracing::{debug, info, instrument, warn};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ use quickwit_common::io::{IoControls, IoControlsAccess};
use quickwit_common::uri::Uri;
use quickwit_metastore::SplitMetadata;
use quickwit_storage::{PutPayload, Storage, StorageResult};
use tantivy::directory::MmapDirectory;
use tantivy::{Advice, Directory};
use tantivy::directory::{Advice, MmapDirectory};
use tantivy::Directory;
use time::OffsetDateTime;
use tracing::{info, info_span, instrument, Instrument};

Expand Down
3 changes: 2 additions & 1 deletion quickwit/quickwit-search/src/collector.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1227,8 +1227,9 @@ mod tests {
}

fn make_index() -> tantivy::Index {
use tantivy::indexer::UserOperation;
use tantivy::schema::{NumericOptions, Schema};
use tantivy::{Index, UserOperation};
use tantivy::Index;

let dataset = sort_dataset();

Expand Down

0 comments on commit ebc0a31

Please sign in to comment.