mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-11-26 14:54:27 +01:00
Update lock file
This commit is contained in:
parent
44fec1b6c9
commit
db625a08f7
2
Cargo.lock
generated
2
Cargo.lock
generated
@ -1702,7 +1702,7 @@ dependencies = [
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "sdset"
|
name = "sdset"
|
||||||
version = "0.3.6"
|
version = "0.3.6"
|
||||||
source = "git+https://github.com/Kerollmops/sdset?branch=intersection-by-key#03c5008a4b23e11ba89c5579b023473b555d3864"
|
source = "git+https://github.com/Kerollmops/sdset?branch=intersection-by-key#f8f5f9eeec3795d25f07f5b8a97d2df902ece7ec"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "semver"
|
name = "semver"
|
||||||
|
@ -184,7 +184,6 @@ pub fn apply_documents_addition<'a, 'b>(
|
|||||||
indexer,
|
indexer,
|
||||||
)?;
|
)?;
|
||||||
|
|
||||||
|
|
||||||
// retrieve the words fst to compute all those prefixes
|
// retrieve the words fst to compute all those prefixes
|
||||||
let words_fst = match main_store.words_fst(writer)? {
|
let words_fst = match main_store.words_fst(writer)? {
|
||||||
Some(fst) => fst,
|
Some(fst) => fst,
|
||||||
@ -205,9 +204,8 @@ pub fn apply_documents_addition<'a, 'b>(
|
|||||||
if let Some(postings_list) = postings_lists_store.postings_list(writer, input)?.map(|p| p.matches.into_owned()) {
|
if let Some(postings_list) = postings_lists_store.postings_list(writer, input)?.map(|p| p.matches.into_owned()) {
|
||||||
let prefix = &input[..prefix_len];
|
let prefix = &input[..prefix_len];
|
||||||
|
|
||||||
let mut array = [0; 4];
|
let mut arr_prefix = [0; 4];
|
||||||
array[..prefix_len].copy_from_slice(prefix);
|
arr_prefix[..prefix_len].copy_from_slice(prefix);
|
||||||
let arr_prefix = array;
|
|
||||||
|
|
||||||
match previous_prefix {
|
match previous_prefix {
|
||||||
Some((ref mut prev_prefix, ref mut prev_postings_list)) if *prev_prefix != arr_prefix => {
|
Some((ref mut prev_prefix, ref mut prev_postings_list)) if *prev_prefix != arr_prefix => {
|
||||||
|
Loading…
Reference in New Issue
Block a user