Problem/Motivation
Due to additional functions for sorting in #3311231: Sorting and sort boost the original functions now have imprecise names.
Remaining tasks
src/Api/MeiliSearchApiServiceInterface.php imprecisely defines "setSettings" and "getSettings".
This is not semantically correct, as they don't update all settings but just the filterable attributes. They (and calls to them) should probably be renamed to e.g. "setFilterableAttributes".
Issue fork search_api_meilisearch-3382618
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
bcizej commentedComment #11
bcizej commentedI have renamed the methods and also added general
getSettingsandsetSettingsmethods so that the entire index settings can be retrieved or set.Ready for review.
Comment #13
deaom commentedTested the changed code and everything works fine. Did see the change to use camelCase for variables, so decided to change it also here for all the variables that were not changed for consistency (did not see a point in opening another issues for that). So leaving the status to needs review, but from my point of view, can be merged.
Comment #15
bcizej commentedMerged, thanks everyone.