tinkerpop/rexster — Issue #183: Remove Vertex Deleting Index
Author: espeed
Created: 2011-11-20 01:47:38+00:00
State: open

Unless I'm missing something, this should be the way to remove an element from an index:

```bash
curl -X DELETE -H "Content-Type:application/json" -d '{"id":504,"value":"James","key":"name","class":"vertex"}' http://localhost:8182/graphs/tinkergraph/indices/TEST
{"version":"0.7-SNAPSHOT"}
```

However, it is deleting the index instead, which what happens if no params are supplied.

This seems to be dangerous having the DELETE index API so close to the REMOVE ELEMENT API -- if a client forgets the params, the entire index is hosed. Maybe consider creating a separate remove-element endpoint?