Database Reference
In-Depth Information
To get all indexes on the
Artist
label, use the following configuration in your REST-
based testing tool and execute the request:
• Request method type:
GET
• Request URL for fetching index:
http://<HOST>:<PORT>/db/data/
schema/ index/Artist
• Headers:
Accept: application/json; charset=UTF-8
The preceding request will fetch all the indexes created on the
Artist
label.
To delete the index on the
Age
property, which is tagged with the
Artist
label, use the
following configuration in your REST-based testing tool and execute the request:
• Request method type:
DELETE
• Request URL for deleting index:
http://<HOST>:<PORT>/db/data/
schema/ index/Artist/Age
• Headers:
Accept: application/json; charset=UTF-8
and
Content-Type: application/json
The preceding request will delete the index on the
Age
property
,
which is tagged with
the
Artist
label.