mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-02-23 19:15:31 +08:00
Merge 424c5bde4006ffc887ed5aa20fda08cc0906d0ef into 4224edea28bc66e8de30d6ad69cdab5aaa922335
This commit is contained in:
commit
e526b0ce17
@ -1,5 +1,5 @@
|
|||||||
<p align="center">
|
<p align="center">
|
||||||
<img alt="the milli logo" src="../assets/milli-logo.svg">
|
<img alt="the milli logo" src="../../assets/milli-logo.svg">
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p align="center">a concurrent indexer combined with fast and relevant search algorithms</p>
|
<p align="center">a concurrent indexer combined with fast and relevant search algorithms</p>
|
||||||
|
@ -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<'_>,
|
||||||
|
@ -66,7 +66,7 @@ impl<'ctx, Q: RankingRuleQueryTrait> RankingRule<'ctx, Q> for VectorSort<Q> {
|
|||||||
"vector_sort".to_owned()
|
"vector_sort".to_owned()
|
||||||
}
|
}
|
||||||
|
|
||||||
#[tracing::instrument(level = "trace", skip_all, target = "search::vector_sort")]
|
#[tracing::instrument(level = "debug", skip_all, target = "search::vector_sort")]
|
||||||
fn start_iteration(
|
fn start_iteration(
|
||||||
&mut self,
|
&mut self,
|
||||||
ctx: &mut SearchContext<'ctx>,
|
ctx: &mut SearchContext<'ctx>,
|
||||||
@ -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>,
|
||||||
|
@ -234,7 +234,7 @@ where
|
|||||||
);
|
);
|
||||||
let mut datastore = ThreadLocal::with_capacity(rayon::current_num_threads());
|
let mut datastore = ThreadLocal::with_capacity(rayon::current_num_threads());
|
||||||
{
|
{
|
||||||
let span = tracing::trace_span!(target: "indexing::documents::extract", "vectors");
|
let span = tracing::debug_span!(target: "indexing::documents::extract", "vectors");
|
||||||
let _entered = span.enter();
|
let _entered = span.enter();
|
||||||
|
|
||||||
extract(
|
extract(
|
||||||
@ -247,7 +247,7 @@ where
|
|||||||
)?;
|
)?;
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
let span = tracing::trace_span!(target: "indexing::documents::merge", "vectors");
|
let span = tracing::debug_span!(target: "indexing::documents::merge", "vectors");
|
||||||
let _entered = span.enter();
|
let _entered = span.enter();
|
||||||
|
|
||||||
for config in &mut index_embeddings {
|
for config in &mut index_embeddings {
|
||||||
|
@ -88,7 +88,7 @@ pub(super) fn write_to_db(
|
|||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
||||||
#[tracing::instrument(level = "trace", skip_all, target = "indexing::vectors")]
|
#[tracing::instrument(level = "debug", skip_all, target = "indexing::vectors")]
|
||||||
pub(super) fn build_vectors<MSP>(
|
pub(super) fn build_vectors<MSP>(
|
||||||
index: &Index,
|
index: &Index,
|
||||||
wtxn: &mut RwTxn<'_>,
|
wtxn: &mut RwTxn<'_>,
|
||||||
|
@ -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