# Neo4j index

### Description

The `Neo4j index` action can be used to create or drop indexes on node or relationship properties in a Neo4j Graph

For similar operations on Neo4j constraints, check the [Ne4oj constraint](/data-shaper-1.21/knowing-the-data-shaper-designer/workflows/actions/neo4j-constraint.md) action.

### Options

* Neo4j Connection : The name of the Neo4j connection to update indexes on
* Index updates to perform: You can specify your list of index updates here
  * Update type : CREATE or DROP
  * Type of object to index on: NODE or RELATIONSHIP
  * Index name: optional but recommended name for your index
  * Object name: the label of the node or relationship you want to update an index for
  * Properties: the comma separated list of node or relationship properties to index


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.primeur.com/data-shaper-1.21/knowing-the-data-shaper-designer/workflows/actions/neo4j-index.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
