Refresh
Refresh an index, which makes added documents available for search.
Refresh an index
Make Marqo refresh an index
POST /indexes/{index_name}/refresh
Path parameters
Name | Type | Description |
---|---|---|
index_name |
String | name of the index |
Example
curl -XPOST http://localhost:8882/indexes/my-first-index/refresh
results = mq.index("my-first-index").refresh()
Response: 200
{
"_shards":{
"total":10,
"successful":5,
"failed":0
}
}