Configuring index settings with the Meilisearch Cloud interface
This tutorial will show you how to check and change an index setting using the Meilisearch Cloud interface.
Requirements
- an active Meilisearch Cloud account
- a Meilisearch Cloud project with at least one index
Accessing a project's index settings
Log into your Meilisearch account and navigate to your project. Then, click on "Indexes":
Find the index you want to configure and click on its "Settings" button:
Checking a setting's current value
Using the menu on the left-hand side, click on "Attributes":
Scroll and look for "Searchable attributes":
If this is a new index, you should see the default value, ["*"]
. This indicates Meilisearch looks through all document attributes when searching.
Updating a setting
All documents include a primary key attribute. In most cases, this attribute does not contain any relevant data, so you can improve your application search experience by explicitly removing it from your searchable attributes list.
Click on the input box with the current value. Then, replace it with an array of strings containing all attributes in your index except the primary key:
Two buttons will appear on the bottom of the screen when you start editing a field. Once you're finished editing a setting, click on "Save":
The button icon will change to a spinning wheel to indicate Meilisearch is processing the changes. Depending on the size of your dataset and the setting you have edited, this might take some time:
Once Meilisearch is ready, the button should change to a green color. You will also see a notification pop-up on the right-hand side of your screen.
Conclusion
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.
What's next
If you prefer to access the settings API directly through your console, you can also configure index settings using the Meilisearch Cloud API.
For a comprehensive reference of all index settings, consult the settings API reference.