mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-02-06 10:33:28 +01:00
Improve the logs of the search with AI
This commit is contained in:
parent
4a5923a55e
commit
0f8eb3b506
@ -563,7 +563,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>,
|
||||||
|
@ -611,6 +611,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