All documents include a primary key attribute. In most cases, this attribute does not contain information relevant for searches, so you can improve your application’s search by explicitly removing it from the searchable attributes list.Find your primary key, then click on the bin icon:
Meilisearch will display a pop-up window asking you to confirm you want to remove the attribute from the searchable attributes list. Click on “Yes, remove attribute”:
Most updates to an index’s settings will cause Meilisearch to re-index all its data. Wait a few moments until this operation is complete. You are not allowed to update any index settings during this time.Once Meilisearch finishes indexing, the primary key will no longer appear in the searchable attributes list:
If you deleted the wrong attribute, click on “Add attributes” to add it back to the list. You may also click on “Reset to default”, which will bring back the searchable list to its original state when you first added your first document to this index:
You have used the Meilisearch Cloud interface to check the value of an index setting. This revealed an opportunity to improve your project’s performance, so you updated this index setting to make your application better and more responsive.This tutorial used the “Searchable attributes” setting, but the procedure is the same no matter which index setting you are editing.