Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
cncases committed Nov 2, 2024
1 parent e267ffa commit 1c0b330
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 14 deletions.
26 changes: 14 additions & 12 deletions 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 Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ axum = { version = "0.7", features = ["http2", "query", "tokio", "http1"], defau
basic-toml = "*"
bincode = "1.3.3"
csv = "1"
fjall = { git = "https://github.com/fjall-rs/fjall", branch = "casetest", default-features = false, features = ["bloom", "single_writer_tx", "miniz"] }
fjall = { version = "2.3.1", default-features = false, features = ["bloom", "single_writer_tx", "miniz"] }
indexmap = "2"
serde = { version = "1", features = ["derive"] }
stop-words = "0.8.0"
Expand Down
6 changes: 5 additions & 1 deletion src/bin/convert.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,13 @@ use cases::{Case, CONFIG};
use fjall::{Config, KvSeparationOptions, PartitionCreateOptions};
use std::fs;
use tracing::info;
use tracing_subscriber::{layer::SubscriberExt as _, util::SubscriberInitExt};

fn main() {
tracing_subscriber::fmt().init();
tracing_subscriber::registry()
.with(tracing_subscriber::EnvFilter::new("info,fjall=warn"))
.with(tracing_subscriber::fmt::layer())
.init();
convert(CONFIG.raw_data_path.as_ref().unwrap(), &CONFIG.db);
}

Expand Down

0 comments on commit 1c0b330

Please sign in to comment.