I know I'm using python below, but this is really a question about
indexes.

I am trying to sort a query by price (low to high) and the query looks
like:

q = models.Slot.all()
        q.filter('geoboxes =', geobox)
        q.filter('date =', dt)
        q.order('price')

index.yaml looks like this:

- kind: Slot
  properties:
  - name: geoboxes
  - name: date
  - name: price

Now this all works just lovely on the SDK, but despite the indexes
already being built on production, the wuery just will not sort by
price.

Should I delete the index and build it again?

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to