문제

I imported the nodes and edges csv files into the Gephi tool and exported the DB, and copied that DB into Neo4j.

when i run the Cypher.

START n=node:node_auto_index(name="ravi") 
RETURN n

its throwing error, i had enabled auto indexing to true in neo4j.properties,how to resolve the problem?

도움이 되었습니까?

해결책

You can configure your conf/neo4j.properties to use:

# Enable auto-indexing for nodes, default is false
node_auto_indexing=true

# The node property keys to be auto-indexed, if enabled
node_keys_indexable=name

And re-index your db, e.g. by paging through the db, start skip at 0 and increase it by 50000 for every run:

start n=node(*)
where has(n.name)
with n
skip 150000 limit 50000
set n.name = n.name
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top