forgot to say, Mapreduce can allso walks (amazing fast) thru zip and text files stored in blogs and the list is growing. gr wim
On Sat, Dec 4, 2010 at 1:48 PM, Wim den Ouden <[email protected]> wrote: > This is a link to what you need for *.yaml and a very simple demo, in the > def (in this example lower_case_posts(entity)) you put the code. Mapreduce > runs (sometimes 20 parallel sessions) thru all entities (no filter possible > yet). First a check if the entity is what you need and then your code. > Mapreduce is now in the standard library. > > http://code.google.com/p/appengine-mapreduce/source/browse/#svn/trunk/python/demo > http://code.google.com/p/appengine-mapreduce/wiki/UserGuidePython > > (your kind) class Post(db.Model): > name = db.StringProperty(default="") > message = db.TextProperty(default="") > time = db.DateTimeProperty(auto_now_add=True) > > > def lower_case_posts(entity): > entity.message = entity.message.lower() > yield db_op.Put(entity) > > > def upper_case_posts(entity): > entity.message = entity.message.upper() > yield db_op.Put(entity) > gr > wim > > On Sat, Dec 4, 2010 at 1:34 PM, nick <[email protected]> wrote: > >> wow. nice infos thanks! :-) >> >> if i had millions of log entries stored in one table. (l_entry: title, >> content, date, host) >> >> and now i want to have all log entries where host="myhost" (as a json >> response), how would you design the query? (this would be slow, doenst it?) >> >> (excuse my bad english :-) ) >> >> >> thx and greets >> nick >> >> -- >> 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. >> > > > > -- > gr > Wim den Ouden > Gae based E-business <https://e-comm.appspot.com/> (web) apps > Free open source <http://code.google.com/p/relat/> > Gae developer tips <http://code.google.com/p/relat/wiki/gaetips> > > -- gr Wim den Ouden Gae based E-business <https://e-comm.appspot.com/> (web) apps Free open source <http://code.google.com/p/relat/> Gae developer tips <http://code.google.com/p/relat/wiki/gaetips> -- 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.
