No, there's no such "undefined" constant which will return everything. It
definitely sounds like a JavaScript issue, and that it turns nulls into
"undefined". And perhaps your code which tries to index null values.

2011/7/16 Aseem Kishore <[email protected]>

> We're seeing this crazy behavior where our exact index is returning all
> nodes if we pass a lookup value of "undefined"! E.g.:
>
> http://localhost:7474/db/data/index/node/nodes/username/undefined
>
> Is this a bug in Neo4j / REST API? Or is this a symptom of some bug we have
> in our own code?
>
> It could very well be our code, since we're using JS, which turns undefined
> values into the string "undefined" if you try to add it to a string
> (definitely a wtfjs candidate), but I wanted to see if others are seeing
> this in Neo4j too!
>
> Thanks,
>
> Aseem
> _______________________________________________
> Neo4j mailing list
> [email protected]
> https://lists.neo4j.org/mailman/listinfo/user
>



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

Reply via email to