This tutorial shows how to check and change an index setting using the Meilisearch API.
curl
installedGET
endpoint of the /settings/searchable-attributes
subroute, replacing INDEX_NAME
with your index:
localhost:7700
with the appropriate address and port.
You should receive a response immediately:
PUT
endpoint of the /settings/searchable-attributes
subroute, replacing INDEX_NAME
with your index and the sample attributes "title"
and "overview"
with attributes present in your dataset:
taskUid
to monitor the status of your request:
status
is enqueued
or processed
, wait a few more moments and check the task status again. If status
is failed
, make sure you have used a valid index and attributes, then try again.
If task status
is succeeded
, you successfully updated your index’s searchable attributes. Use the subroute to check the new setting’s value: