Skip to content
Max De Marzi edited this page Jun 16, 2013 · 1 revision

Create schema indexes:

@neo.create_schema_index(label, string_array)              # Create an index on the property of label
@neo.create_schema_index("person", ["name"])               # Create an index on the name property of person
@neo.create_schema_index("person", ["name", "ssn"])        # Create an index on multiple properties

Get schema indexes:

@neo.get_schema_index(label)                               # Get the indexes of a label
@neo.get_schema_index("person")                            # Get the indexes of the person label

Delete schema indexes:

@neo.delete_schema_index(label, property)                  # Delete an index from a label
@neo.delete_schema_index("person", "ssn")                  # Delete the ssn index from the person label
Clone this wiki locally