So I have a Label "*Title*" with the property "*title*".
With the Noe4j properties I set an index on it with "neo4j.properties" and "
*node_keys_indexable=title*".
So I have loaded* 1 Mio* nodes of "Title".
And did the query:
*start n=node:node_auto_index('title:*CAPTIVE*')return n;*
That give me *2* results. So that's all fine. But here are my questions
about Lucene:
1. Is this the correct way to set a Lucene index on a property?
2. How to set a Lucene index without the properties file. Is it with *CREATE
INDEX ON :Title(title);* Is that really a Lucene index or just a usual
Tree index?
3. How can I say in the Query that I want to use the title of the label
Title and not from another Label? I think if I have another Label with
property title it's also searching that one? Am I wrong?
4. Is there a shorter way of the Lucene query for this example? Maybe
something like *SELECT n:Title Where n.title="CAPTIVE"*
5. When I do a* start n = node(*) where n.title =~ '.*CAPTIVE.*' return
n.title, n; *why does this give me 4 results instead of 2?
Thank you.
--
You received this message because you are subscribed to the Google Groups
"Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.