mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 12:27:13 +02:00
rename the ArroyReader to an ArroyWrapper since it can read and write
This commit is contained in:
parent
79f29eed3c
commit
2b6952eda1
5 changed files with 13 additions and 13 deletions
|
@ -30,13 +30,13 @@ pub type Embedding = Vec<f32>;
|
|||
|
||||
pub const REQUEST_PARALLELISM: usize = 40;
|
||||
|
||||
pub struct ArroyReader {
|
||||
pub struct ArroyWrapper {
|
||||
quantized: bool,
|
||||
index: u16,
|
||||
database: arroy::Database<Unspecified>,
|
||||
}
|
||||
|
||||
impl ArroyReader {
|
||||
impl ArroyWrapper {
|
||||
pub fn new(database: arroy::Database<Unspecified>, index: u16, quantized: bool) -> Self {
|
||||
Self { database, index, quantized }
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue