mirror of
https://github.com/openobserve/openobserve.git
synced 2026-11-05 08:09:22 +00:00
feat: Integrate tantivy as an inverted index substitute (#4733)
This commit is contained in:
@@ -220,10 +220,6 @@ pub async fn cli() -> Result<bool, anyhow::Error> {
|
||||
}
|
||||
}
|
||||
"migrate-file-list" => {
|
||||
let prefix = match command.get_one::<String>("prefix") {
|
||||
Some(prefix) => prefix.to_string(),
|
||||
None => "".to_string(),
|
||||
};
|
||||
let from = match command.get_one::<String>("from") {
|
||||
Some(from) => from.to_string(),
|
||||
None => "".to_string(),
|
||||
@@ -232,11 +228,8 @@ pub async fn cli() -> Result<bool, anyhow::Error> {
|
||||
Some(to) => to.to_string(),
|
||||
None => "".to_string(),
|
||||
};
|
||||
println!(
|
||||
"Running migration file_list from {} to {}, with prefix: {}",
|
||||
from, to, prefix
|
||||
);
|
||||
migration::file_list::run(&prefix, &from, &to).await?;
|
||||
println!("Running migration file_list from {} to {}", from, to);
|
||||
migration::file_list::run(&from, &to).await?;
|
||||
}
|
||||
"migrate-meta" => {
|
||||
let from = match command.get_one::<String>("from") {
|
||||
|
||||
Reference in New Issue
Block a user