2011/7/13 Michael Hunger <michael.hun...@neotechnology.com>

> Indexed values are actually not bound to be properties.
>
> The index framework just calls toString() on indexed values that are not
> ValueContexts.
>
> So you should find a suitable representation of your arrays (e.g. a comma
> separated list or a json array string) if you want to lookup them. And then
> index that representation.
>

Although if your object is some kind of array it will index all array items
separately, so that each of them is query:able individually.

>
> Cheers
>
> Michael
>
> Am 13.07.2011 um 23:39 schrieb Aseem Kishore:
>
> > I just learned that node/relationship property values can be arrays of
> > primitives, not just primitives.
> >
> > That's pretty cool, but I'm wondering, how does this work (if it does
> work)
> > with indexing and lookups? I'm referring to the REST API.
> >
> > E.g. if the URL is:
> >
> > GET /index/node/my_nodes/the_key/the_value
> >
> > What should I be putting in for "the_value"? I don't think it should be
> > URL-encoded JSON, because for simple strings, quotes don't go into the
> URL.
> > So is this even possible?
> >
> > Help appreciated! Thanks much.
> >
> > Aseem
> > _______________________________________________
> > 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
>



-- 
Mattias Persson, [matt...@neotechnology.com]
Hacker, Neo Technology
www.neotechnology.com
_______________________________________________
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to