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