Re: [Neo4j] Must be kys only ASCII strings?

51 views
Skip to first unread message

Florent Empis

unread,
Jul 24, 2012, 9:08:14 AM7/24/12
to ne...@googlegroups.com
Hi,

Just a shot in the dark, but is your Java class containing your Cypher compiled and ran in UTF-8 ? -Dencoding and al...?

Florent

2012/7/24 xtrip_golf <go...@xtrip.net>

I have a node with key with non ASCII characters
node{číslo:"A"}

with REST API I find this node
http://localhost:7475/db/data/index/node/firma/číslo/A

but, if I can using cypher:

START  root=node:node_index(číslo="A")
RETURN root

Non ascii characters not accepted.

Invalid query

`=` expected
"START root=node:node:node_index(číslo="A") //

Must be kys only ASCII strings?

thanks
P.B.

Peter Neubauer

unread,
Jul 24, 2012, 9:12:04 AM7/24/12
to ne...@googlegroups.com
HI there,
what is the context for getting that error? Terminal? Curl?

Cheers,

/peter neubauer

G: neubauer.peter
S: peter.neubauer
P: +46 704 106975
L: http://www.linkedin.com/in/neubauer
T: @peterneubauer

Wanna learn something new? Come to @graphconnect.

xtrip_golf

unread,
Jul 24, 2012, 10:10:59 AM7/24/12
to ne...@googlegroups.com
With browser using webadmin data browser and with python using bulbs package.

xtrip_golf

unread,
Jul 24, 2012, 10:15:25 AM7/24/12
to ne...@googlegroups.com
thanks
I have installed java and neo4j from debian package repository. I think, that is compiled with utf-8, but I not sure.

Andres Taylor

unread,
Jul 24, 2012, 11:38:46 AM7/24/12
to ne...@googlegroups.com
On Tue, Jul 24, 2012 at 2:44 PM, xtrip_golf <go...@xtrip.net> wrote:
Must be kys only ASCII strings? 

No, but if you use anything but a-z and numerals, you have to use backticks. 

START  root=node:node_index(`číslo`="A"
RETURN root 

HTH,

Andrés

xtrip_golf

unread,
Jul 24, 2012, 12:47:48 PM7/24/12
to ne...@googlegroups.com
Oh,
Thanks very match.

Michael Hunger

unread,
Jul 24, 2012, 1:13:30 PM7/24/12
to ne...@googlegroups.com
Use backticks to quote the key

Sent from mobile device
Reply all
Reply to author
Forward
0 new messages