primary key in the update index method should be optionnal #296
Labels
good first issue
Good for newcomers
maintenance
Anything related to maintenance (CI, tests, refactoring...)
Description
Currently the method to update an index requires a primary key as per the method definition:
As an example:
Expected behavior
In Meilisearch the update route accepts no primary Key field being defined, or one set to null. See spec.
Current behavior
The
primaryKey
is required. It should not and could introduce a big breaking change if a new parameter becomes updatable on the update index route. In which case the user is going to have to define a primary key even if they only want to update the other parameter(s).Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: