<s> """<STR_LIT>""" <EOL> from google . appengine . api import matcher <EOL> from tipfy import RequestHandler <EOL> class MatcherHandler ( RequestHandler ) : <EOL> """<STR_LIT>""" <EOL> def post ( self , ** kwargs ) : <EOL> """<STR_LIT>""" <EOL> form = self . request . form <EOL> result = self . match ( <EOL> sub_ids = form . getlist ( '<STR_LIT:id>' ) , <EOL> key = form . get ( '<STR_LIT:key>' ) , <EOL> topic = form [ '<STR_LIT>' ] , <EOL> results_count = int ( form [ '<STR_LIT>' ] ) , <EOL> results_offset = int ( form [ '<STR_LIT>' ] ) , <EOL> doc = matcher . get_document ( form ) , <EOL> ** kwargs <EOL> ) <EOL> return result <EOL> def match ( self , sub_ids , topic , results_count , results_offset , key , doc ) : <EOL> """<STR_LIT>""" <EOL> raise NotImplementedError ( ) </s>
