Reputation: 7144
I havent been able to figure out how to do something equivalent to this SQL statement in Objectify
SELECT * FROM myTable WHERE myTable.attribute = 'X' OR myTable.attribute = 'Y'.
Any help would be appreciated.
Upvotes: 1
Views: 291
Reputation: 101149
You can't use 'OR' criteria in App Engine. Each query is executed as a single index scan, and that's not possible with disjunctions. Instead, you need to execute each query separately, and intersect the results.
I'm not sure how this relates to text search, however.
Upvotes: 3