mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 04:17:10 +02:00
fix update system
This commit is contained in:
parent
58fe87067b
commit
f77f38dfa0
6 changed files with 50 additions and 40 deletions
|
@ -222,8 +222,6 @@ impl Index {
|
|||
let schema = self.main.schema(reader)?;
|
||||
let schema = schema.ok_or(Error::SchemaMissing)?;
|
||||
|
||||
// let attributes = attributes.map(|a| a.iter().filter_map(|name| schema.get_id(*name)).collect());
|
||||
|
||||
let attributes = match attributes {
|
||||
Some(attributes) => Some(attributes.iter().filter_map(|name| schema.get_id(*name)).collect()),
|
||||
None => None,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue