>From documents of neo4j, I know that we could create index when import data
(by batch inserter).
>From neo4j shell , I found that the statement: index --create
auto_node_index -t node to create auto index.
But i didn't find how to create index (schema, legacy) after importing data.
Is it possible to create index after finish import data?
Is it possible to run it in neo4j shell?If yes, how is the command?
- Another question is: when I import data. Because I need to import data
billion of node, I use batchinserter.shutdown after I insert some million
nodes. When I import data, I use
iinserter.createDeferredSchemaIndex(labelItem).on("itemId").create(); to
create index schema.
When i use neo4j shell with command : schema: the program shows many row:
- Indexes
- ==> ON :Item(itemId) ONLINE
- ==> ON :Item(itemId) ONLINE
- ==> ON :Item(itemId) ONLINE
- ==> ON :Item(itemId) ONLINE
- ==> ON :Item(itemId) ONLINE
It means that, for each time inserter.shutdown, it has more one rows.
But are there any differences between the way I did and if I index one time
on item(itemId)?
THanks
--
You received this message because you are subscribed to the Google Groups
"Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.