Cypher also supports index queries: start n = (nodefull, "name:abc*") return n
Cheers Michael Am 05.10.2011 um 21:28 schrieb [email protected]: > Looks like Cypher queries with index lookups are only matching nodes > with the exact field value. > > Is this by design? This is with 1.1.0.RELEASE version of Spring Data > Graph, and using the Neo4J console with v1.4.1. I'm running Neo4J in > the REST server setup. > > I have a field called name on an NodeEntity full text indexed into > index named nodefull. > > I create a NodeEntity with name = "abc def ghi" > > If I open the Lucene index with Luke, I see that the field is properly > tokenized. > > Two cypher queries: > > start n = (nodefull, name, 'abc def ghi') return n # returns the right node > > start n (nodefull, name, 'abc' return n # returns nothing > > -TPP > > _______________________________________________ > Neo4j mailing list > [email protected] > https://lists.neo4j.org/mailman/listinfo/user _______________________________________________ Neo4j mailing list [email protected] https://lists.neo4j.org/mailman/listinfo/user

