Hello guys!

I have a curiosity. From what i understand Gmail is implemented on the
same infrastructure that app-engine now offers to developers.

The email filters option in Gmail has the following options:
from:
to:
subject:
has the words:
doesn't have:
has attachment:

If i were to implement such a filter and assign it to a label i would
actually save a query with the upper information in a query object
associated with the user that owns this filter and run that query each
time he "opens" the label.

Since queries require indexes in order to work, and the user can
choose any combination of the above, that would mean a total of: C
(6,0) + C(6,1) + C(6,2) + C(6,3) + ... + C(6,6) = 2^6 = 64 indexes
needed to assure complete functionality (actually 63, because C(6,0)
is not required)

Is this how you implemented the filters feature ? (more or less) If
not, can you tell me how?
I would really like to know this because I'm developing an application
which features a "company profiles' database", that should be filtered
and labeled by users, much the same way that Gmail does.

--~--~---------~--~----~------------~-------~--~----~
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
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to