Ahoy
and thx, that is helpful.
but here comes yet another newbie question.
is it possible to do smth like the following

START source = (nodeIndexSources,querySources),
       target = (nodeIndexTargets,queryTargets)
MATCH (source)-![:unwantedRelationshipType]->(target)
RETURN source,target

where i try to get all pairs of nodes that have no directed relationship 
of the given type from sources to targets, or

START source = ...,
       target = ...,
MATCH (source)-!-(target)
RETURN source,target

to get those pairs with no relationships at all?

ciao,
st.p.


23.09.2011 12:30, Andres Taylor wrote:
> On Thu, Sep 22, 2011 at 5:23 PM, st.pa<st...@web.de>  wrote:
>
>> but what about regexes in the START clause where lookup of some
>> nodeIndex with *-wildcard already takes place. this is obviously not
>> pure regex, and I did not find documentation on what other wildcards are
>> allowed or how to search for literal "*" - so what needs to be escaped
>> there? \*, **, "*", \"*\", \\*, _, ?
>
>
> Ah... Now I understand what you're trying to do. Sorry, I didn't get it last
> time.
>
> The index access is just passing the query over to Lucene. This page
> explains the syntax for Lucene-queries.
> http://lucene.apache.org/java/2_4_0/queryparsersyntax.html
>
> HTH,
>
> Andrés
> _______________________________________________
> Neo4j mailing list
> User@lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user
>

_______________________________________________
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to