Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8681665
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T21:34:11+00:00 2026-06-12T21:34:11+00:00

I am creating a new Neo4j database. I have a type of node called

  • 0

I am creating a new Neo4j database. I have a type of node called User and I would like an index on the properties of user Identifier and EmailAddress. How does one go setting up an index when the database is new? I have noticed in the neo4j.properties file there looks to be support for creating indexes. However when I set these as so

# Autoindexing

# Enable auto-indexing for nodes, default is false
node_auto_indexing=true

# The node property keys to be auto-indexed, if enabled
node_keys_indexable=EmailAddress,Identifier

And add a node and do a query to find an Identifier that I know exists

START n=node:Identifier(Identifier = "USER0")
RETURN n;

then I get an

MissingIndexException: Index `Identifier` does not exist

How do I create an index and use it in a start query? I only want to use config files and cypher to achieve this. i.e. at the present time I am only playing in the Power Tool Console.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T21:34:14+00:00Added an answer on June 12, 2026 at 9:34 pm

    Add the following to the neo4j.properties file

    # Autoindexing
    
    # Enable auto-indexing for nodes, default is false
    node_auto_indexing=true
    
    # The node property keys to be auto-indexed, if enabled
    node_keys_indexable=EmailAddress,Identifier
    

    Create the auto index for nodes

    neo4j-sh (0)$ index --create node_auto_index -t Node
    

    Check if they exist

    neo4j-sh (0)$ index --indexes
    

    Should return

    Node indexes:
    node_auto_index
    

    When querying use the following syntax to specify the index

    start a = node:node_auto_index(Identifier="USER0")
    return a;
    

    As the node is auto indexed the name of the index is node_auto_index

    This information came from a comment at the bottom of this page

    Update

    In case you want to index your current data which was there before automatic indexing was turned on (where Property_Name is the name of your index)

    START nd =node(*) 
    WHERE has(nd.Property_Name)
    WITH nd
    SET nd.Property_Name = nd.Property_Name
    RETURN count(nd);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want after login user redirects to page creating new table(website), so I have
I'm using Rails and I have a User Controller for creating new users. To
I have index action, that print 1) form for creating new Entity; 2) list
I have problem creating new instance of excel 2007 using VBA (from Access 2002).
When I try to install gem like bundler or rake after creating new gemset
In my code I am creating new objects of same type inside loop and
I have a website which is behaving oddly in terms of creating new sessions.
I have default Master-Detail flow, which was created automatically when creating new project. My
I have a strange problem creating new counters in existing group. I have a
I have the below function creating new panels inside my ViewStack.. This works fine

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.