Neo4j legacy indexes offer features such as executing Lucene queries on them or indexing arbitrary key / value pairs.
For example, if my Usernode looks like this:, (me { FirstName: 'John', LastName: 'Doe'})I can put this user in an outdated index with a key FullName, value 'john doe', and I can get this user and other users whose name begins with "j" with this Cypher query:
start withj=node:User("FullName:j*") return withj;
I am going to convert my legacy index-based application to indexes based on the Neo4j 2.0 label. Do these new indexes also offer this functionality, or just search for exact matches? Should I stick to legacy indexes for such queries or are there alternatives?
Thanks!
source
share