With the introduction of the new multi operations in roaring we need to see what we can optimize; - [X] Not a big win here, we should ensure roaring optimize well the small iterators. Implemented in https://github.com/meilisearch/milli/pull/581/commits/4e70d5c8d509941952eb0eedeb83858a52b4f2f2. https://github.com/meilisearch/milli/blob/ebddfdb9a329e955066b15ffae17c3a4d496e9c9/milli/src/search/criteria/proximity.rs#L271-L286 - [x] https://github.com/meilisearch/milli/blob/ebddfdb9a329e955066b15ffae17c3a4d496e9c9/milli/src/search/criteria/attribute.rs#L239-L256 - [x] Implemented in https://github.com/meilisearch/milli/pull/581/commits/632fc3de0db63f92496c447a501cbfb3ec99be36. https://github.com/meilisearch/milli/blob/ebddfdb9a329e955066b15ffae17c3a4d496e9c9/milli/src/search/criteria/mod.rs#L348-L364 - [x] Implemented in https://github.com/meilisearch/milli/pull/581/commits/2b70cd0a85955c708f8f50cce18ac9526b1d963e. https://github.com/meilisearch/milli/blob/ebddfdb9a329e955066b15ffae17c3a4d496e9c9/milli/src/search/criteria/mod.rs#L367-L371 - [x] Implemented in https://github.com/meilisearch/milli/pull/581/commits/9f9feed824225b60e8faa4da2bfbb79abc2c068b. https://github.com/meilisearch/milli/blob/ebddfdb9a329e955066b15ffae17c3a4d496e9c9/milli/src/search/criteria/mod.rs#L381-L397 - [x] Implemented in https://github.com/meilisearch/milli/pull/581/commits/25bd6e7628398123a9130aea9a3e3888f921712c. https://github.com/meilisearch/milli/blob/ebddfdb9a329e955066b15ffae17c3a4d496e9c9/milli/src/update/index_documents/helpers/merge_functions.rs#L35-L77
With the introduction of the new multi operations in roaring we need to see what we can optimize;