mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-02-12 22:00:06 +08:00
Improve the logs of the search with AI
This commit is contained in:
parent
cfaac6f7ca
commit
6e9292ac45
@ -553,7 +553,7 @@ fn resolve_sort_criteria<'ctx, Query: RankingRuleQueryTrait>(
|
|||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
||||||
#[tracing::instrument(level = "trace", skip_all, target = "search::universe")]
|
#[tracing::instrument(level = "debug", skip_all, target = "search::universe")]
|
||||||
pub fn filtered_universe(
|
pub fn filtered_universe(
|
||||||
index: &Index,
|
index: &Index,
|
||||||
txn: &RoTxn<'_>,
|
txn: &RoTxn<'_>,
|
||||||
|
@ -83,7 +83,7 @@ impl<'ctx, Q: RankingRuleQueryTrait> RankingRule<'ctx, Q> for VectorSort<Q> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#[allow(clippy::only_used_in_recursion)]
|
#[allow(clippy::only_used_in_recursion)]
|
||||||
#[tracing::instrument(level = "trace", skip_all, target = "search::vector_sort")]
|
#[tracing::instrument(level = "debug", skip_all, target = "search::vector_sort")]
|
||||||
fn next_bucket(
|
fn next_bucket(
|
||||||
&mut self,
|
&mut self,
|
||||||
ctx: &mut SearchContext<'ctx>,
|
ctx: &mut SearchContext<'ctx>,
|
||||||
|
@ -606,6 +606,7 @@ impl Embedder {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[tracing::instrument(level = "debug", skip_all, target = "search")]
|
||||||
pub fn embed_one(
|
pub fn embed_one(
|
||||||
&self,
|
&self,
|
||||||
text: String,
|
text: String,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user