-
Notifications
You must be signed in to change notification settings - Fork 99
Update indexes for v0.28.0 #315
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update indexes for v0.28.0 #315
Conversation
…meilisearch-rust into update_http_methods_for_v0.28.0
…meilisearch-rust into update_http_methods_for_v0.28.0
…isearch/meilisearch-rust into update_http_methods_for_v0.28.0
…isearch/meilisearch-rust into update_http_methods_for_v0.28.0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great @bidoubiwa just a few questions here ✨
Co-authored-by: Tamo <[email protected]>
Co-authored-by: Tamo <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
coolos
Related to issue: meilisearch/meilisearch#2373
All the changes:
Breaking changes
client.get_indexes
now returns aIndexesResults
instead of aVec<Index>
client.get_indexes_raw
now returns aValue
instead of aVec<Value>
Index
structure:uid
is now astring
and not aArc<string>
and is publicclient
is now publicprimary_key
is now publicNew
client.get_indexes_with
takes as argumentIndexesQuery
giving you the possibility to setlimit
andoffset
.client.get_indexes_raw_with
takes as argumentIndexesQuery
giving you the possibility to setlimit
andoffset
.IndexUpdater
struct gives you the possibility to create an instance of all the fields you would like to change in an Index and then execute the update: `IndexUpdater::new(&client).with_primary_key("my_id".to_string()).execute().await)IndexesQuery
struct allows you to define the filtering applied during theget_all_indexes_with
call.