Hi Stephen,

Good observation! You're right. We don't need this property anymore. We'll
update the docs.


--
Ikai Lan
Developer Programs Engineer, Google App Engine
Blogger: http://googleappengine.blogspot.com
Reddit: http://www.reddit.com/r/appengine
Twitter: http://twitter.com/app_engine



On Fri, Feb 11, 2011 at 9:12 AM, Stephen Johnson <[email protected]>wrote:

> Hi all,
> I'm wondering if the descending indexes on keys for Java is still required
> since the introduction of the __scatter__ property. The documentation still
> has:
>
>    - The entity to be mapped must have a descending index on key. There is
>    support for guessing the key range in the Python implementation, and we 
> plan
>    to add that same strategy to the Java implementation.
>    - Sharding is currently done by splitting the space of keys
>    lexicographically. For instance, suppose you have the keys 'a', 'ab', 'ac',
>    and 'e' and you request two splits. The framework will find that the first
>    key is 'a' and the last key is 'e'. 'a' is the first letter and 'e' is the
>    fifth, so the middle is 'c'. Therefore, the two splits are ['a'...'c') and
>    ['c'...), with the first split containing 'a', 'ab', and 'ac', and the last
>    split only containing 'e'.
>
> But I'm hoping someone knows if this has been removed since __scatter__
> property seems to be the new splitting/sharding method.
>
> Thanks,
> Stephen
>
>  --
> 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.
>

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