mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 20:37:15 +02:00
Apply PR requests related to settings API
This commit is contained in:
parent
5fa4b5c50a
commit
63e753bde0
7 changed files with 44 additions and 43 deletions
|
@ -868,12 +868,12 @@ impl Index {
|
|||
pub(crate) fn put_filterable_attributes_rules(
|
||||
&self,
|
||||
wtxn: &mut RwTxn<'_>,
|
||||
#[allow(clippy::ptr_arg)] fields: &Vec<FilterableAttributesRule>,
|
||||
fields: &[FilterableAttributesRule],
|
||||
) -> heed::Result<()> {
|
||||
self.main.remap_types::<Str, SerdeJson<_>>().put(
|
||||
wtxn,
|
||||
main_key::FILTERABLE_FIELDS_KEY,
|
||||
fields,
|
||||
&fields,
|
||||
)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue