Update lock file

This commit is contained in:
Clément Renault 2020-01-15 12:25:14 +01:00
parent 44fec1b6c9
commit db625a08f7
No known key found for this signature in database
GPG Key ID: 92ADA4E935E71FA4
2 changed files with 3 additions and 5 deletions

2
Cargo.lock generated
View File

@ -1702,7 +1702,7 @@ dependencies = [
[[package]]
name = "sdset"
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]]
name = "semver"

View File

@ -184,7 +184,6 @@ pub fn apply_documents_addition<'a, 'b>(
indexer,
)?;
// retrieve the words fst to compute all those prefixes
let words_fst = match main_store.words_fst(writer)? {
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()) {
let prefix = &input[..prefix_len];
let mut array = [0; 4];
array[..prefix_len].copy_from_slice(prefix);
let arr_prefix = array;
let mut arr_prefix = [0; 4];
arr_prefix[..prefix_len].copy_from_slice(prefix);
match previous_prefix {
Some((ref mut prev_prefix, ref mut prev_postings_list)) if *prev_prefix != arr_prefix => {