mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-11-11 15:38:55 +01:00
Update test
This commit is contained in:
parent
84845de9ef
commit
a82c49ab08
@ -727,10 +727,10 @@ fn extract_field(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
fn format_fields(
|
fn format_fields<'a>(
|
||||||
document: &Document,
|
document: &Document,
|
||||||
field_ids_map: &FieldsIdsMap,
|
field_ids_map: &FieldsIdsMap,
|
||||||
builder: &MatcherBuilder,
|
builder: &'a MatcherBuilder<'a>,
|
||||||
formatted_options: &BTreeMap<FieldId, FormatOptions>,
|
formatted_options: &BTreeMap<FieldId, FormatOptions>,
|
||||||
compute_matches: bool,
|
compute_matches: bool,
|
||||||
displayable_ids: &BTreeSet<FieldId>,
|
displayable_ids: &BTreeSet<FieldId>,
|
||||||
@ -775,9 +775,9 @@ fn format_fields(
|
|||||||
Ok((matches_position, document))
|
Ok((matches_position, document))
|
||||||
}
|
}
|
||||||
|
|
||||||
fn format_value(
|
fn format_value<'a>(
|
||||||
value: Value,
|
value: Value,
|
||||||
builder: &MatcherBuilder,
|
builder: &'a MatcherBuilder<'a>,
|
||||||
format_options: Option<FormatOptions>,
|
format_options: Option<FormatOptions>,
|
||||||
infos: &mut Vec<MatchBounds>,
|
infos: &mut Vec<MatchBounds>,
|
||||||
compute_matches: bool,
|
compute_matches: bool,
|
||||||
|
@ -1,18 +1,21 @@
|
|||||||
---
|
---
|
||||||
source: milli/src/update/index_documents/mod.rs
|
source: milli/src/update/index_documents/mod.rs
|
||||||
---
|
---
|
||||||
|
0 [1, ]
|
||||||
1 [2, ]
|
1 [2, ]
|
||||||
10.0 [1, ]
|
10 [1, ]
|
||||||
12 [0, ]
|
12 [0, ]
|
||||||
1344 [3, ]
|
1344 [3, ]
|
||||||
2 [0, ]
|
2 [0, ]
|
||||||
23 [5, ]
|
23 [5, ]
|
||||||
25.99 [2, ]
|
25 [2, ]
|
||||||
3.5 [0, ]
|
3 [0, ]
|
||||||
35 [5, ]
|
35 [5, ]
|
||||||
4 [4, ]
|
4 [4, ]
|
||||||
42 [0, 5, ]
|
42 [0, 5, ]
|
||||||
456 [1, ]
|
456 [1, ]
|
||||||
|
5 [0, ]
|
||||||
|
99 [2, ]
|
||||||
adams [5, ]
|
adams [5, ]
|
||||||
adventure [1, ]
|
adventure [1, ]
|
||||||
alice [2, ]
|
alice [2, ]
|
||||||
@ -29,7 +32,7 @@ galaxy [5, ]
|
|||||||
guide [5, ]
|
guide [5, ]
|
||||||
half [4, ]
|
half [4, ]
|
||||||
harry [4, ]
|
harry [4, ]
|
||||||
hitchhiker' [5, ]
|
hitchhiker [5, ]
|
||||||
hobbit [3, ]
|
hobbit [3, ]
|
||||||
in [2, ]
|
in [2, ]
|
||||||
j [3, 4, ]
|
j [3, 4, ]
|
||||||
|
@ -1,19 +1,22 @@
|
|||||||
---
|
---
|
||||||
source: milli/src/update/index_documents/mod.rs
|
source: milli/src/update/index_documents/mod.rs
|
||||||
---
|
---
|
||||||
|
0 [1, 7, ]
|
||||||
1 [2, ]
|
1 [2, ]
|
||||||
10.0 [1, 7, ]
|
10 [1, 7, ]
|
||||||
12 [0, 8, ]
|
12 [0, 8, ]
|
||||||
1344 [3, ]
|
1344 [3, ]
|
||||||
1813 [8, ]
|
1813 [8, ]
|
||||||
2 [0, 8, ]
|
2 [0, 8, ]
|
||||||
23 [5, ]
|
23 [5, ]
|
||||||
25.99 [2, ]
|
25 [2, ]
|
||||||
3.5 [0, 8, ]
|
3 [0, 8, ]
|
||||||
35 [5, ]
|
35 [5, ]
|
||||||
4 [4, 6, ]
|
4 [4, 6, ]
|
||||||
42 [0, 5, 8, ]
|
42 [0, 5, 8, ]
|
||||||
456 [1, 7, ]
|
456 [1, 7, ]
|
||||||
|
5 [0, 8, ]
|
||||||
|
99 [2, ]
|
||||||
adams [5, ]
|
adams [5, ]
|
||||||
adventure [1, 7, ]
|
adventure [1, 7, ]
|
||||||
alice [2, ]
|
alice [2, ]
|
||||||
@ -31,7 +34,7 @@ galaxy [5, ]
|
|||||||
guide [5, ]
|
guide [5, ]
|
||||||
half [4, 6, ]
|
half [4, 6, ]
|
||||||
harry [4, 6, ]
|
harry [4, 6, ]
|
||||||
hitchhiker' [5, ]
|
hitchhiker [5, ]
|
||||||
hobbit [3, ]
|
hobbit [3, ]
|
||||||
in [2, ]
|
in [2, ]
|
||||||
j [3, 4, 6, 8, ]
|
j [3, 4, 6, 8, ]
|
||||||
|
@ -1,27 +1,28 @@
|
|||||||
---
|
---
|
||||||
source: milli/src/update/delete_documents.rs
|
source: milli/src/update/delete_documents.rs
|
||||||
---
|
---
|
||||||
1_36 [3, ]
|
1 [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 21, ]
|
||||||
1_37 [4, ]
|
2 [21, ]
|
||||||
1_38 [5, ]
|
36 [3, ]
|
||||||
1_39 [6, ]
|
37 [4, ]
|
||||||
1_40 [7, ]
|
38 [5, ]
|
||||||
1_41 [8, ]
|
39 [6, ]
|
||||||
1_42 [9, ]
|
40 [7, ]
|
||||||
1_43 [10, ]
|
41 [8, ]
|
||||||
1_44 [11, ]
|
42 [9, ]
|
||||||
1_45 [12, ]
|
43 [10, ]
|
||||||
1_46 [13, ]
|
44 [11, ]
|
||||||
1_47 [14, ]
|
45 [12, ]
|
||||||
1_5 [1, ]
|
46 [13, ]
|
||||||
1_52 [15, ]
|
47 [14, ]
|
||||||
1_57 [16, ]
|
5 [1, ]
|
||||||
1_58 [17, ]
|
52 [15, ]
|
||||||
1_68 [18, ]
|
57 [16, ]
|
||||||
1_69 [19, ]
|
58 [17, ]
|
||||||
1_7 [2, ]
|
68 [18, ]
|
||||||
1_71 [21, ]
|
69 [19, ]
|
||||||
2.2 [21, ]
|
7 [2, ]
|
||||||
|
71 [21, ]
|
||||||
abstract [2, 6, 10, 13, 14, 15, 16, 17, ]
|
abstract [2, 6, 10, 13, 14, 15, 16, 17, ]
|
||||||
aquarium [5, ]
|
aquarium [5, ]
|
||||||
art [4, 5, 8, 9, 10, 12, 17, ]
|
art [4, 5, 8, 9, 10, 12, 17, ]
|
||||||
|
@ -1,4 +1,25 @@
|
|||||||
---
|
---
|
||||||
source: milli/src/update/delete_documents.rs
|
source: milli/src/update/delete_documents.rs
|
||||||
---
|
---
|
||||||
|
1 1 36 [3, ]
|
||||||
|
1 1 37 [4, ]
|
||||||
|
1 1 38 [5, ]
|
||||||
|
1 1 39 [6, ]
|
||||||
|
1 1 40 [7, ]
|
||||||
|
1 1 41 [8, ]
|
||||||
|
1 1 42 [9, ]
|
||||||
|
1 1 43 [10, ]
|
||||||
|
1 1 44 [11, ]
|
||||||
|
1 1 45 [12, ]
|
||||||
|
1 1 46 [13, ]
|
||||||
|
1 1 47 [14, ]
|
||||||
|
1 1 5 [1, ]
|
||||||
|
1 1 52 [15, ]
|
||||||
|
1 1 57 [16, ]
|
||||||
|
1 1 58 [17, ]
|
||||||
|
1 1 68 [18, ]
|
||||||
|
1 1 69 [19, ]
|
||||||
|
1 1 7 [2, ]
|
||||||
|
1 1 71 [21, ]
|
||||||
|
1 2 2 [21, ]
|
||||||
|
|
||||||
|
@ -1,31 +1,31 @@
|
|||||||
---
|
---
|
||||||
source: milli/src/update/delete_documents.rs
|
source: milli/src/update/delete_documents.rs
|
||||||
---
|
---
|
||||||
1.2 [20, 22, ]
|
1 [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, ]
|
||||||
1_36 [3, ]
|
2 [20, 21, 22, ]
|
||||||
1_37 [4, ]
|
36 [3, ]
|
||||||
1_38 [5, ]
|
37 [4, ]
|
||||||
1_39 [6, ]
|
38 [5, ]
|
||||||
1_4 [0, ]
|
39 [6, ]
|
||||||
1_40 [7, ]
|
4 [0, ]
|
||||||
1_41 [8, ]
|
40 [7, ]
|
||||||
1_42 [9, ]
|
41 [8, ]
|
||||||
1_43 [10, ]
|
42 [9, ]
|
||||||
1_44 [11, ]
|
43 [10, ]
|
||||||
1_45 [12, ]
|
44 [11, ]
|
||||||
1_46 [13, ]
|
45 [12, ]
|
||||||
1_47 [14, ]
|
46 [13, ]
|
||||||
1_5 [1, ]
|
47 [14, ]
|
||||||
1_52 [15, ]
|
5 [1, ]
|
||||||
1_57 [16, ]
|
52 [15, ]
|
||||||
1_58 [17, ]
|
57 [16, ]
|
||||||
1_68 [18, ]
|
58 [17, ]
|
||||||
1_69 [19, ]
|
68 [18, ]
|
||||||
1_7 [2, ]
|
69 [19, ]
|
||||||
1_70 [20, ]
|
7 [2, ]
|
||||||
1_71 [21, ]
|
70 [20, ]
|
||||||
1_72 [22, ]
|
71 [21, ]
|
||||||
2.2 [21, ]
|
72 [22, ]
|
||||||
abstract [2, 6, 10, 13, 14, 15, 16, 17, ]
|
abstract [2, 6, 10, 13, 14, 15, 16, 17, ]
|
||||||
aquarium [5, ]
|
aquarium [5, ]
|
||||||
art [4, 5, 8, 9, 10, 12, 17, ]
|
art [4, 5, 8, 9, 10, 12, 17, ]
|
||||||
|
@ -1,4 +1,29 @@
|
|||||||
---
|
---
|
||||||
source: milli/src/update/delete_documents.rs
|
source: milli/src/update/delete_documents.rs
|
||||||
---
|
---
|
||||||
|
1 1 2 [20, 22, ]
|
||||||
|
1 1 36 [3, ]
|
||||||
|
1 1 37 [4, ]
|
||||||
|
1 1 38 [5, ]
|
||||||
|
1 1 39 [6, ]
|
||||||
|
1 1 4 [0, ]
|
||||||
|
1 1 40 [7, ]
|
||||||
|
1 1 41 [8, ]
|
||||||
|
1 1 42 [9, ]
|
||||||
|
1 1 43 [10, ]
|
||||||
|
1 1 44 [11, ]
|
||||||
|
1 1 45 [12, ]
|
||||||
|
1 1 46 [13, ]
|
||||||
|
1 1 47 [14, ]
|
||||||
|
1 1 5 [1, ]
|
||||||
|
1 1 52 [15, ]
|
||||||
|
1 1 57 [16, ]
|
||||||
|
1 1 58 [17, ]
|
||||||
|
1 1 68 [18, ]
|
||||||
|
1 1 69 [19, ]
|
||||||
|
1 1 7 [2, ]
|
||||||
|
1 1 70 [20, ]
|
||||||
|
1 1 71 [21, ]
|
||||||
|
1 1 72 [22, ]
|
||||||
|
1 2 2 [21, ]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user