Logo Search packages:      
Sourcecode: zope-managableindex version File versions  Download package

def ManagableIndex::ManagableIndex::ManagableIndex::_makeFilter (   self,
  pred 
) [private]

a document filter 'did -> True/False' checking term predicate *pred*.

This definition is adequate, when the predicate can be directly
applied to the 'unindex' value.

Definition at line 429 of file ManagableIndex.py.

00429                              :
    '''a document filter 'did -> True/False' checking term predicate *pred*.

    This definition is adequate, when the predicate can be directly
    applied to the 'unindex' value.
    '''
    def check(did):
      dv = self._unindex.get(did)
      return dv is not None and pred(dv)
    return check


  #################################################################


Generated by  Doxygen 1.6.0   Back to index