HOWEVER - (working with a colleague who fixed this situation last night) - you cannot modify an existing index with the REST API at all... you have to use the command line. So, here's what u do:
stop the db
delete the index's directory: graph.db/index/lucene/node/node_auto_index
start the db.
then, at the shell / command line for the db:
- neo4j-sh (0)$ index --get-config node_auto_index
- ==> {
- ==> "provider": "lucene",
- ==> "type": "exact"
- ==> }
- neo4j-sh (0)$ index --set-config node_auto_index type fulltext
- ==> INDEX CONFIGURATION CHANGED, INDEX DATA MAY BE INVALID
- neo4j-sh (0)$ index --get-config node_auto_index
- ==> {
- ==> "provider": "lucene",
- ==> "type": "fulltext"
- ==> }
- neo4j-sh (0)$
I think the documentation should be updated so that when discussing auto_indexing, the examples use the command line, not the REST API, since the REST API cannot update / change existing indices (as far as I know) - or if you can make changes to indices via the REST API, please list those endpoints and give examples.