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

def ManagableIndex::WordIndex::WordIndex::getEntryForObject (   self,
  documentId,
  default = None 
)

Information for *documentId*.

Definition at line 64 of file WordIndex.py.

00064                                                        :
    '''Information for *documentId*.'''
    info= self._unindex.get(documentId)
    if info is None: return default
    lexicon = self._getLexicon()
    l = [lexicon.get_word(wid) for wid in info.keys()]; l.sort()
    return repr(l)
  
  # overrides: we could use the corresponding 'KeywordIndex' definitions
  # but as the word sets tend to be much larger,
  # we use definitions which are more efficient for large sets
  def _update(self,documentId,val,oldval,threshold):


Generated by  Doxygen 1.6.0   Back to index