I'm currently working on a REST API wrapper for Neo4j written in node.js.

Why does the REST API return labels of nodes that are removed? Can I get all labels of existing nodes?

Code can be found at: https://github.com/Stofkn/node-neo4j (main.js method listAllLabels)

有帮助吗?

解决方案

Labels are part of the database metainformation. They will not be cleaned when the node is removed.

Those labels are also attached to other kinds of meta-info, like indexes etc.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top