Why do you need to walk your data in __key__ reverse order?

- alkis


2010/6/9 Jason C <jason.a.coll...@gmail.com>

> Ok, thanks.
>
> So it seems for MapReduce for App Engine to work optimally, I would
> need to manually add the requested index (and then, somewhat
> ironically, use MapReduce for App Engine to walk the entire data set
> and put each entity to get the new index populated).
>
> j
>
> On Jun 8, 5:19 pm, Alkis Evlogimenos ('Αλκης Ευλογημένος)
> <evlogime...@gmail.com> wrote:
> > There is no desc index on __key__. Each indexed property has an asc and
> desc
> > index on it but that doesn't apply for keys.
> >
> > - alkis
> >
> >
> >
> > On Wed, Jun 9, 2010 at 12:39 AM, Jason C <jason.a.coll...@gmail.com>
> wrote:
> > > I'm attempting to use mapreduce for app engine as presented at I/O
> > > 2010.
> >
> > > I just noticed the following warning message in our logs (on /
> > > mapreduce/command/start_job):
> >
> > > Cannot create accurate approximation of keyspace, guessing instead.
> > > Please address this problem: no matching index found.
> > > This query needs this index:
> > > - kind: AccountKeyword
> > >  properties:
> > >  - name: __key__
> > >    direction: desc
> >
> > > This seems to suggest that there is no (desc) index for the key of our
> > > Model. However, isn't this created automatically? Indeed, I can't even
> > > think of a way to _not_ have it created (i.e., I can't think of a way
> > > to specify indexed=False for the key).
> >
> > > Is this an error in reporting, or is something very wrong with our
> > > Datastore?
> >
> > > Thanks,
> > > j
> >
> > > --
> > > 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-appengine@googlegroups.com
> .
> > > To unsubscribe from this group, send email to
> > > google-appengine+unsubscr...@googlegroups.com<google-appengine%2bunsubscr...@googlegroups.com><google-appengine%2Bunsubscrib
> e...@googlegroups.com>
> > > .
> > > For more options, visit this group at
> > >http://groups.google.com/group/google-appengine?hl=en.
>
> --
> 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<google-appengine%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>
>

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