node_auto_index does not exist exception when exported from Gephi tool

StackOverflow https://stackoverflow.com/questions/19242438

  •  30-06-2022
  •  | 
  •  

سؤال

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