code: def filtered(self, efilter):
          '''
          Applies a filter to the search
          '''
          if not self.params:
              self.params={'filter' : efilter}
              return self
          if not self.params.has_key('filter'):
              self.params['filter'] = efilter
              return self
          self.params['filter'].update(efilter)
          return self filtered(self, efilter):
          '''
          Applies a filter to the search
          '''
          if not self.params:
              self.params={'filter' : efilter}
              return self
          if not self.params.has_key('filter'):
              self.params['filter'] = efilter
              return self
          self.params['filter'].update(efilter)
          return self
docs: Applies a filter to the search