我正在尝试遵循这些文档: http ://readthedocs.org/docs/neo4j-rest-client/en/latest/indices.html 这很好用
from neo4jrestclient.client import GraphDatabase, Q
db = GraphDatabase("http://localhost:7474/db/data")
userIndex = db.nodes.indexes.get("index2")
print userIndex.query('username', "*")[:]
根据文档,这也应该有效,但没有。
print userIndex.query(Q('username', "*"))[:]
我在 pip 存储库中升级到了最新版本。这是一个错误吗?