Updating a node and its accompanying indexes in neo4j using neography

437 views Asked by At

How do I update a given property of a node using neography? And if its an indexed field. will the indexes get updated automatically?

I know on the console, its as trivial as

  cd -a 15
  set username foobar

Of course this doesnt update any indexes(indices sp?) either.

1

There are 1 answers

0
udit On

According to the neo4j-manual-1.8

To update an index entry, the old one must be removed and a new one added

Another option is to setup autoindexing.