Menu

Implementation of automatic Index

Karan Kothari

Procedure for creating automated indexes on the properties is as follows:

  1. For creating new instance of neo4j, admin will have to fill in a form containing information about that instance and the name of a node index for that instance.

  2. In back the end we will use neo4j rest api to create new node index.
    The procedure for creating a new node index is given at the link below: http://docs.neo4j.org/chunked/stable/rest-api-indexes.html#rest-api-create-node-index

  3. For adding nodes to this instance, we will first add nodes to neo4j and then we will add their properties to the newly created index via rest api.
    The procedure for adding a node to an index is given at the link below:
    http://docs.neo4j.org/chunked/stable/rest-api-indexes.html#rest-api-add-node-to-index

  4. For every instance, there will be only one node index.

  5. We will run cypher queries using this index.


Related

Wiki: Home