Hi Manuel, I believe that in a single property index, entries with the
same value are sorted by key, therefore the results of a merge join
will always be in key order.  If you can ensure that your tag entities
have keys in chronological order then this should be possible.  I am
not certain but I think that auto generated ids (as opposed to key
names) are not guaranteed to be in order so you would probably need to
set the key name yourself from a counter.  Perhaps you could use
memcaches increment method here?

John

On Dec 5, 10:35 pm, Manuel <[email protected]> wrote:
> Hi,
>
> I'm thinking of using merge-joins to implement AND-queries in a
> tagging system.
>
> Is there some way (that doesn't involve sorting in RAM) of using merge-
> joins to return items that have two or more tags in (reverse)
> chronological order?
>
> Thanks,
> Manuel

--

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.


Reply via email to