I think this is referring to the indexes needed to perform the query
and not the sort orders needed.  All you need to do is order only on
score.  As long as your indexes are updated your query should work
fine.

On May 26, 6:33 am, mscwd01 <[email protected]> wrote:
> The restriction I am referring to is mentioned 
> here:http://code.google.com/appengine/docs/java/datastore/jdo/queries.html
> Scroll down to "Query Sort Orders" where it says:
>
> Due to the way the App Engine datastore executes queries, if a query
> specifies inequality filters on a property and sort orders on other
> properties, the property used with the inequality filters must be
> ordered before the other properties.
>
> I'm not sure what you mean by "Entity query class"?
>
> On May 25, 2:15 pm, Brandon Donnelson <[email protected]> wrote:
>
>
>
> > What restrictions are you referring? Have you tried the entity query class,
> > the sort is a bit easier to set up.
>
> >       Query q = new Query("BlobTmpJdo");
> >       q.addFilter("key", FilterOperator.EQUAL, fbd.getKey());
> >       q.addSort("index");
>
> > Brandon Donnelsonhttp://gwt-examples.googlecode.com

-- 
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