Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Cypher queries with regular expression with indexing

Received: by 10.204.129.9 with SMTP id m9mr921747bks.1.1349635648158;
        Sun, 07 Oct 2012 11:47:28 -0700 (PDT)
X-BeenThere: neo4j@googlegroups.com
Received: by 10.204.129.197 with SMTP id p5ls5712588bks.9.gmail; Sun, 07 Oct
 2012 11:47:24 -0700 (PDT)
Received: by 10.204.145.140 with SMTP id d12mr921763bkv.6.1349635644788;
        Sun, 07 Oct 2012 11:47:24 -0700 (PDT)
Received: by 10.204.145.140 with SMTP id d12mr921762bkv.6.1349635644759;
        Sun, 07 Oct 2012 11:47:24 -0700 (PDT)
Return-Path: <michael.hun...@neopersistence.com>
Received: from mail-bk0-f50.google.com (mail-bk0-f50.google.com [209.85.214.50])
        by gmr-mx.google.com with ESMTPS id 27si1489634bks.3.2012.10.07.11.47.24
        (version=TLSv1/SSLv3 cipher=OTHER);
        Sun, 07 Oct 2012 11:47:24 -0700 (PDT)
Received-SPF: pass (google.com: domain of michael.hun...@neopersistence.com designates 209.85.214.50 as permitted sender) client-ip=209.85.214.50;
Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of michael.hun...@neopersistence.com designates 209.85.214.50 as permitted sender) smtp.mail=michael.hun...@neopersistence.com
Received: by mail-bk0-f50.google.com with SMTP id q16so1589360bkw.9
        for <neo4j@googlegroups.com>; Sun, 07 Oct 2012 11:47:24 -0700 (PDT)
        d=google.com; s=20120113;
        h=subject:references:from:content-type:x-mailer:in-reply-to
         :message-id:date:to:content-transfer-encoding:mime-version
         :x-gm-message-state;
        bh=wJngIVKTXx4IdZUdolIbBR8e7lmYu+IAalf41/TOdWo=;
        b=bYOaci0aBogoUfck/bDSNFnW3J0wPj2fW0PEsovAJmcy1bmiwItTemRiAnkQHs1/EQ
         e/4LIdcHgUzLQfQlmTT+ciVHy2I4NmjI26RYUcb2kzsvZAeXI/WYBdYObvO/iWiKwwzp
         Xuo9hLkU3ueffqqLLqSlXoEQsnrUI/ztFYJZgI08I4VgAveqgmqzIApfLd/p93a/0/qv
         FEvPz+KnZgOTeTC0/WE6Ih0JOBaPyTydLWUf7O/ha9/tbtx7hF6n08Bz3+oeaiphcJ4q
         WfdiHvIFNdLiwHpsugyBhJCJU0P1xNLyi2ru0oPku2oTbTbPVzWsV3Dx37Qk6gHUymDh
         1jJA==
Received: by 10.204.146.13 with SMTP id f13mr4515381bkv.29.1349635644325;
        Sun, 07 Oct 2012 11:47:24 -0700 (PDT)
Return-Path: <michael.hun...@neopersistence.com>
Received: from [192.168.111.108] (146-52-51-30-dynip.superkabel.de. [146.52.51.30])
        by mx.google.com with ESMTPS id 9sm10883781bkq.13.2012.10.07.11.47.22
        (version=SSLv3 cipher=OTHER);
        Sun, 07 Oct 2012 11:47:23 -0700 (PDT)
Subject: Re: [Neo4j] Cypher queries with regular expression with indexing
References: <01a4c373-d9d5-4056-9758-40b0158f323c@googlegroups.com>
From: Michael Hunger <michael.hun...@neopersistence.com>
Content-Type: multipart/alternative;
	boundary=Apple-Mail-1EEFB740-CDB7-4834-8D9C-F3FB4CE2F686
X-Mailer: iPhone Mail (10A405)
In-Reply-To: <01a4c373-d9d5-4056-9758-40b0158f323c@googlegroups.com>
Message-Id: <DD5CA1FC-2377-4F6C-88F8-0DA8C4BA3...@neopersistence.com>
Date: Sun, 7 Oct 2012 20:42:17 +0200
To: "neo4j@googlegroups.com" <neo4j@googlegroups.com>
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (1.0)
X-Gm-Message-State: ALoCoQlef1/qtYjSV44eXsdXmZgRnDVl+C9wskjZbv4YUfx1tYdwgO/zS6P2zbBSSRHlS6+JdkNt


--Apple-Mail-1EEFB740-CDB7-4834-8D9C-F3FB4CE2F686
Content-Type: text/plain;
	charset=us-ascii
Content-Transfer-Encoding: quoted-printable

Can't you escape them with a backslash? Or use single quotes in cypher

Sent from mobile device

Am 07.10.2012 um 16:03 schrieb pt <pattre...@gmail.com>:

> Hi,
>=20
> I tried to execute the cypher from python and found the following issues, I=
 would be appreciated very much for any answer.
>=20
> from the console:
>=20
> "start a=3Dnode:my_index(name=3D"Zum Brommenhof") return a" --> this work o=
n console but not with neo4j-python-embedded.  it seems the double quote is d=
etected and the interpreter return syntax error.
>=20
>=20
> next,=20
>=20
> "start a=3Dnode:my_index(name=3D"*Brommenhof") return a" --> this query fr=
om console return not found (0 row)
> Cypher doesn't able to handle regular expression in indexing?
>=20
>=20
> Thank you!
> pattreeya.
>=20
>=20
>=20
>=20
> --=20
> =20
> =20

--Apple-Mail-1EEFB740-CDB7-4834-8D9C-F3FB4CE2F686
Content-Type: text/html;
	charset=utf-8
Content-Transfer-Encoding: quoted-printable

<html><head><meta http-equiv=3D"content-type" content=3D"text/html; charset=3D=
utf-8"></head><body dir=3D"auto"><div>Can't you escape them with a backslash=
? Or use single quotes in cypher<br><br>Sent from mobile device</div><div><b=
r>Am 07.10.2012 um 16:03 schrieb pt &lt;<a href=3D"mailto:pattre...@gmail.co=
m">pattre...@gmail.com</a>&gt;:<br><br></div><blockquote type=3D"cite"><div>=
Hi,<div><br></div><div>I tried to execute the cypher from python and found t=
he following issues, I would be appreciated very much for any answer.</div><=
div><br></div><div>from the console:</div><div><br></div><div>"start a=3Dnod=
e:my_index(name=3D"Zum Brommenhof") return a" --&gt; this work on console bu=
t not with neo4j-python-embedded.&nbsp;&nbsp;it seems the double quote is de=
tected and the interpreter return syntax error.<br></div><div><br></div><div=
><br></div><div>next,&nbsp;</div><div><br></div><div>"start a=3Dnode:my_inde=
x(name=3D"*Brommenhof") return a" --&gt; this query from console return not f=
ound (0 row)<br></div><div>Cypher doesn't able to handle regular expression i=
n indexing?<br></div><div><br></div><div><br></div><div>Thank you!</div><div=
>pattreeya.</div><div><br></div><div><br></div><div><br></div><div><br></div=
>

<p></p>

-- <br>
&nbsp;<br>
&nbsp;<br>
</div></blockquote></body></html>=

--Apple-Mail-1EEFB740-CDB7-4834-8D9C-F3FB4CE2F686--