Johann,
These queries have different second parameters in their Key.from_path. Is
this just a text error?
Domain.all(keys_only=True).order('__key__').filter('__key__ >=',
db.Key.from_path('domains_domain', 'menewokzxwsqipne')).fetch(100)
Domain.all(keys_only=True).order('-__key__').filter('__key__ <=',
db.Key.from_path('domains_domain', 'mengame')).fetch(100)
On Fri, Dec 4, 2009 at 2:15 PM, Johann C. Rocholl <[email protected]>wrote:
> I've been having problems with two descending __key__ indexes on my
> app. Today I deleted and rebuilt one of the indexes, but the new index
> is still missing up to 56% of items compared to the normal ascending
> __key__ index. Here's my index definition from index.yaml:
>
> - kind: domains_domain
> properties:
> - name: __key__
> direction: desc
>
> Here's a simple page that demonstrates the problem, showing the
> missing items in red:
> http://scoretool.appspot.com/domains/descending/
>
> Additional info about my app: I have a large dataset (2 million items
> using 15.7 GB including metadata). The key names are short ASCII
> strings. Index building or deleting takes several hours, but it seems
> faster today than before SDK 1.2.8 came out.
>
> Corrupt indexes are a significant problem for my app because it
> compares ranges of key names on different models to update or delete
> objects. Please let me know if I can do something else to help
> diagnose this issue.
>
> --
>
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-appengine%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>
>
>
--
Ikai Lan
Developer Programs Engineer, Google App Engine
--
You received this message because you are subscribed to the Google Groups
"Google App Engine" 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?hl=en.