mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-23 18:45:06 +08:00
Run cargo fmt
This commit is contained in:
parent
34c991ea02
commit
f6f8f543e1
@ -15,5 +15,4 @@ pub use self::roaring_bitmap_length::{
|
|||||||
BoRoaringBitmapLenCodec, CboRoaringBitmapLenCodec, RoaringBitmapLenCodec,
|
BoRoaringBitmapLenCodec, CboRoaringBitmapLenCodec, RoaringBitmapLenCodec,
|
||||||
};
|
};
|
||||||
pub use self::str_beu32_codec::StrBEU32Codec;
|
pub use self::str_beu32_codec::StrBEU32Codec;
|
||||||
pub use self::str_str_u8_codec::StrStrU8Codec;
|
pub use self::str_str_u8_codec::{StrStrU8Codec, UncheckedStrStrU8Codec};
|
||||||
pub use self::str_str_u8_codec::UncheckedStrStrU8Codec;
|
|
||||||
|
@ -192,17 +192,19 @@ the grenad and insert its elements in the database.
|
|||||||
|
|
||||||
|
|
||||||
*/
|
*/
|
||||||
use crate::update::index_documents::{
|
use std::borrow::Cow;
|
||||||
create_writer, merge_cbo_roaring_bitmaps, CursorClonableMmap,
|
use std::collections::HashSet;
|
||||||
};
|
use std::io::BufReader;
|
||||||
use crate::{CboRoaringBitmapCodec, Index, Result, UncheckedStrStrU8Codec};
|
|
||||||
use grenad::CompressionType;
|
use grenad::CompressionType;
|
||||||
use heed::types::ByteSlice;
|
use heed::types::ByteSlice;
|
||||||
use heed::BytesDecode;
|
use heed::BytesDecode;
|
||||||
use log::debug;
|
use log::debug;
|
||||||
use std::borrow::Cow;
|
|
||||||
use std::collections::HashSet;
|
use crate::update::index_documents::{
|
||||||
use std::io::BufReader;
|
create_writer, merge_cbo_roaring_bitmaps, CursorClonableMmap,
|
||||||
|
};
|
||||||
|
use crate::{CboRoaringBitmapCodec, Index, Result, UncheckedStrStrU8Codec};
|
||||||
|
|
||||||
pub struct WordPrefixPairProximityDocids<'t, 'u, 'i> {
|
pub struct WordPrefixPairProximityDocids<'t, 'u, 'i> {
|
||||||
wtxn: &'t mut heed::RwTxn<'i, 'u>,
|
wtxn: &'t mut heed::RwTxn<'i, 'u>,
|
||||||
@ -737,9 +739,8 @@ impl PrefixTrieNode {
|
|||||||
mod tests {
|
mod tests {
|
||||||
use roaring::RoaringBitmap;
|
use roaring::RoaringBitmap;
|
||||||
|
|
||||||
use crate::{CboRoaringBitmapCodec, StrStrU8Codec};
|
|
||||||
|
|
||||||
use super::*;
|
use super::*;
|
||||||
|
use crate::{CboRoaringBitmapCodec, StrStrU8Codec};
|
||||||
|
|
||||||
use std::io::Cursor;
|
use std::io::Cursor;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user