Re: [google-appengine] Performance of using many || statements in a query?

2010-07-28 Thread Barry Hunter
You should read http://code.google.com/appengine/docs/java/datastore/queriesandindexes.html#Introducing_Queries Specifically "Query Filters" and "A single query containing != or contains() operators is limited to 30 sub-queries." || is mapped to 'contains()' On 27 July 2010 19:53, Mark wr

[google-appengine] Performance of using many || statements in a query?

2010-07-27 Thread Mark
Hi, I'm interested in knowing how well multiple OR (||) statements would operate in a single query. For example, I want to find all friends that have recommended a particular product: Query query = pm.newQuery(Recommendation.class, "(username == 'turtle' || username == 'frog' |