Graph database - Name of a node

On the book Graph databases, on page 29, the index is called user, but what is the node called ? Also user ? Does a node not have a name like the index has ?
1 person has
this question
  • Hello Stephane,

    Thanks for your interest in Graph Databases. I've contacted the author regarding your question, and here is his reply:

    "START n=node:user(name='Michael') refers to a node index (as opposed to a relationship index) called 'user'. With this index, we're looking for nodes with a 'name' property whose value is 'Michael'. Any nodes that we find in the index, we then assign to the 'n' identifier, so that we can refer to them later in the query.

    Unfortunately, we don't explain indexes in any great detail in the book. This is a bug - somehow the text dropped out at some point in the writing process, and I never caught the omission when I was pulling it all together. I wrote a short blog post a few months ago to help people who wanted to code along with the examples in the book: "

    Hope this helps and have a great day!

    Kind regards,
    Paul Fichera
    Customer Service Representative
    O'Reilly Media
  • (some HTML allowed)
    How does this make you feel?
    Add Image

    e.g. sad, anxious, confused, frustrated kidding, amused, unsure, silly happy, confident, thankful, excited indifferent, undecided, unconcerned