The solution is to precompute. If you look at the problem domain you
may find a way. Here is someones solution to how to do it for 2 in-
equalities in the Geospatial domain. 
http://code.google.com/appengine/articles/geosearch.html

On Aug 16, 4:10 pm, benwit <[email protected]> wrote:
> Hello,
>
> I have Entity E with properties a, b, c, d, ...
>
> I have a SQL Query :
> select * from E where a > 2 and a < 6 and b > 3 and b < 8 and d > 0
> and d < 7 order by c
>
> I read limitations on query in GAE (Inequality Filters Are Allowed On
> One Property Only in 
> pagehttp://code.google.com/intl/fr/appengine/docs/java/datastore/queriesa...)
>
> How implements this query in GAE if i have 1000000 entities E ?
>
> with code :
>
>  Extent extent = pm.getExtent(E.class, false);
>     for (E e : extent) {
>         // ... tests on properties
>     }
>
> Is good solution ?
> What the best solution ?
>
> thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to