kopia lustrzana
https://github.com/meilisearch/MeiliSearch
zsynchronizowano 2025-07-03 11:57:07 +02:00
Update crates/milli/src/update/new/extract/faceted/extract_facets.rs
Co-authored-by: Many the fish <many@meilisearch.com>
Ten commit jest zawarty w:
rodzic
44f812c36d
commit
b06cc1e0a2
1 zmienionych plików z 2 dodań i 1 usunięć
|
@ -91,7 +91,8 @@ impl FacetedDocidsExtractor {
|
|||
let mut del_add_facet_value = DelAddFacetValue::new(&context.doc_alloc);
|
||||
let docid = document_change.docid();
|
||||
|
||||
// Macro expanding to an insertion/deletion facet fn
|
||||
// Macro expanding to an insertion/deletion facet fn,
|
||||
// using a macro avoid to borrow the parameters as mutable in both closures at the same time by postponing their creation
|
||||
macro_rules! facet_fn {
|
||||
(del) => {
|
||||
|fid: FieldId, meta: Metadata, depth: perm_json_p::Depth, value: &Value| {
|
||||
|
|
Ładowanie…
Dodaj tabelę
Add a link
Odniesienie w nowym zgłoszeniu