Skip to content
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

Fix Index setting tutorial asset paths #2768

Merged
merged 1 commit into from
Mar 20, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions learn/configuration/configuring_index_settings.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,21 @@ This tutorial will show you how to check and change an index setting using the [

Log into your Meilisearch account and navigate to your project. Then, click on "Indexes":

![The main menu of the project view in the Meilisearch Cloud interface. Menu itmes include "Indexes" among other options such as "Settings" and "Analytics".](https://raw.githubusercontent.com/meilisearch/documentation/cloud-index-settings/assets/images/cloud-index-settings/01-indexes-tab.png)
![The main menu of the project view in the Meilisearch Cloud interface. Menu itmes include "Indexes" among other options such as "Settings" and "Analytics".](https://raw.githubusercontent.com/meilisearch/documentation/main/assets/images/cloud-index-settings/01-indexes-tab.png)

Find the index you want to configure and click on its "Settings" button:

![A list of indexes in a Meilisearch Cloud project. It shows an index named "books" along with a few icons and buttons. One of these buttons is "Settings."](https://raw.githubusercontent.com/meilisearch/documentation/cloud-index-settings/assets/images/cloud-index-settings/02-index-settings.png)
![A list of indexes in a Meilisearch Cloud project. It shows an index named "books" along with a few icons and buttons. One of these buttons is "Settings."](https://raw.githubusercontent.com/meilisearch/documentation/main/assets/images/cloud-index-settings/02-index-settings.png)

## Checking a setting's current value

Using the menu on the left-hand side, click on "Attributes":

![The index configuration overview together with a menu with links to pages dedicated to various index settings.](https://raw.githubusercontent.com/meilisearch/documentation/cloud-index-settings/assets/images/cloud-index-settings/03-general-settings.png)
![The index configuration overview together with a menu with links to pages dedicated to various index settings.](https://raw.githubusercontent.com/meilisearch/documentation/main/assets/images/cloud-index-settings/03-general-settings.png)

Scroll and look for "Searchable attributes":

![The "Searchable attributes" configuration section showing the default setting value.](https://raw.githubusercontent.com/meilisearch/documentation/cloud-index-settings/assets/images/cloud-index-settings/04-searchable-attributes-default.png)
![The "Searchable attributes" configuration section showing the default setting value.](https://raw.githubusercontent.com/meilisearch/documentation/main/assets/images/cloud-index-settings/04-searchable-attributes-default.png)

If this is a new index, you should see the default value, `["*"]`. This indicates Meilisearch looks through all document attributes when searching.

Expand All @@ -40,19 +40,19 @@ All documents include a primary key attribute. In most cases, this attribute doe

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:

![The "Searchable attributes" configuration section showing the new setting value: \["title","author","genre","price"\].](https://raw.githubusercontent.com/meilisearch/documentation/cloud-index-settings/assets/images/cloud-index-settings/05-searchable-attributes-filled.png)
![The "Searchable attributes" configuration section showing the new setting value: \["title","author","genre","price"\].](https://raw.githubusercontent.com/meilisearch/documentation/main/assets/images/cloud-index-settings/05-searchable-attributes-filled.png)

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 "Searchable attributes" configuration section showing two buttons at the bottom of the screen: "Cancel changes" and "Save".](https://raw.githubusercontent.com/meilisearch/documentation/cloud-index-settings/assets/images/cloud-index-settings/06-save.png)
![The "Searchable attributes" configuration section showing two buttons at the bottom of the screen: "Cancel changes" and "Save".](https://raw.githubusercontent.com/meilisearch/documentation/main/assets/images/cloud-index-settings/06-save.png)

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:

![The "Searchable attributes" configuration section showing two buttons at the bottom of the screen. The "Save" button now has a spinning loading icon.](https://raw.githubusercontent.com/meilisearch/documentation/cloud-index-settings/assets/images/cloud-index-settings/07-saving.png)
![The "Searchable attributes" configuration section showing two buttons at the bottom of the screen. The "Save" button now has a spinning loading icon.](https://raw.githubusercontent.com/meilisearch/documentation/main/assets/images/cloud-index-settings/07-saving.png)

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.

![The "Searchable attributes" configuration section showing two buttons at the bottom of the screen. The "Save" button has changed color and now reads "Saved".](https://raw.githubusercontent.com/meilisearch/documentation/cloud-index-settings/assets/images/cloud-index-settings/08-saved.png)
![The "Searchable attributes" configuration section showing two buttons at the bottom of the screen. The "Save" button has changed color and now reads "Saved".](https://raw.githubusercontent.com/meilisearch/documentation/main/assets/images/cloud-index-settings/08-saved.png)

## Conclusion

Expand Down