mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-09-06 04:36:32 +00:00
Remove userProvided from fragments
This commit is contained in:
@ -930,9 +930,6 @@ async fn vector_filter_specific_fragment() {
|
|||||||
{
|
{
|
||||||
"name": "kefir"
|
"name": "kefir"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "echo"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "intel"
|
"name": "intel"
|
||||||
},
|
},
|
||||||
@ -944,7 +941,7 @@ async fn vector_filter_specific_fragment() {
|
|||||||
"processingTimeMs": "[duration]",
|
"processingTimeMs": "[duration]",
|
||||||
"limit": 20,
|
"limit": 20,
|
||||||
"offset": 0,
|
"offset": 0,
|
||||||
"estimatedTotalHits": 4
|
"estimatedTotalHits": 3
|
||||||
}
|
}
|
||||||
"#);
|
"#);
|
||||||
}
|
}
|
||||||
|
@ -119,7 +119,10 @@ fn evaluate_inner(
|
|||||||
.collect(),
|
.collect(),
|
||||||
})?;
|
})?;
|
||||||
|
|
||||||
arroy_wrapper.items_in_store(rtxn, fragment_config.id, |bitmap| bitmap.clone())?
|
let user_provided_docsids = embedder_info.embedding_status.user_provided_docids();
|
||||||
|
arroy_wrapper.items_in_store(rtxn, fragment_config.id, |bitmap| {
|
||||||
|
bitmap.clone() - user_provided_docsids
|
||||||
|
})?
|
||||||
}
|
}
|
||||||
VectorFilter::DocumentTemplate => {
|
VectorFilter::DocumentTemplate => {
|
||||||
if !embedding_config.fragments.as_slice().is_empty() {
|
if !embedding_config.fragments.as_slice().is_empty() {
|
||||||
|
Reference in New Issue
Block a user