HTTP Fetch Search Index

Retrieves information about a Riak Search index.

Request

GET /search/index/<index_name>

Normal Response Codes

  • 200 OK

Typical Error Codes

  • 404 Object Not Found - No Search index with that name is currently available
  • 503 Service Unavailable - The request timed out internally

Response

If the index is found, Riak will output a JSON object describing the index, including its name, the n_val associated with it, and the search schema used by the index. Here is an example:

{
  "name": "my_index",
  "n_val": 3,
  "schema": "_yz_default"
}