Drop an Index using Cypher - neo4j tutorial - graph database



What is DROP INDEX ON using Cypher in Neo4j?

  • You can drop an index using the DROP INDEX ON statement. This will remove the index from the database.
  • So, to drop our previously created index, we can use the following statement:
DROP INDEX ON :Album(Name)
  • When the statement succeeds,the following message is displayed:
 neo4j drop an index using cypher
Relative Tags : neo , neo4j , graph database , neo4j cypher , neo4j python , neo4j tutorial , neo4j download , neograft

View the Schema:

  • You can now use the  :schema command to verify that the applicable index has been removed from the schema.
  • Simply type this:
:schema
  • You will see that the index is no longer in the schema:
 neo4j-drop-an-index-using-cypher-2

NOTE:-

  • The colon(:) operator is used to refer a Node or a Relationship label name.
  • The above syntax describes that it drops an existing index created on < property_name> of <label_name> of a Node or a Relationship.

Example -

  • This example demonstrates how to drop an INDEX on number property of a CreditCard Node.

Steps to follow:

  • Step 1 - Type the below command on Data Browser
DROP INDEX ON :Customer (name)
 neo4j-cql-index3
  • Step 2 - Click on "Execute" button and observe the results.
 neo4j-cql-index4
  • It shows that one Index is dropped from the Neo4j Database

This neo4j tutorial site provides you all the following key points and informations on neograft , neo technology , graphdb , neo4j tutorial , neo4j download , neo4j graph database , open source graph database , neo4j database , neo 4 j , nosql graph database , graph database comparison , best graph database , graphical database , graph database examples , neo database , graph database open source , in memory graph database , database graph , graph based database , graph database neo4j , neo4j pricing , neo4j graph , neo4j example , neo4j performance , neo4j license , graph data model , graph oriented database , neo4j enterprise pricing , neo4j create database , neo4j create new database , neo4j enterprise , neo4j ruby , neo4j node , neo4j with , neo4j start , mysql graph database , neo4j online , graph store , neo4j plugins , neo4j create , neo4j where , neo4j version , neo4j architecture , start neo4j , allegrograph , open source graph , graph database tutorial , neo4j query , neo4j book , what is graph database , neo4j training , apache graph database , neo4j rest api , google graph database , neo4j vs mongodb , download neo4j , python graph database , cypher neo4j , what is neo4j , neo for j , neo4j manual , neo4j spatial , graph database python , neo4j cluster , neo4j demo , neo4j wiki , neo4j docs , neo4j documentation , install neo4j , neo4j github , neo4j data modeling , mongodb vs neo4j , neo4j install , neo4j community , neo4j scalability , infinite graph , neo4j cypher tutorial , neo4j getting started , neo4j console , neo4j open source , neo4j community edition , neo4j logo , world of graphs , neo4j hosting , neo4j vs , neo4j query language , neo j , neo4j driver , neo4j client

Related Searches to Drop Index Using Cypher