Exemple #1
0
 def clear(self):
     self._storage = StorageRegistry.get(self.use_storage)() 
     self._lexicon = LexiconRegistry.get(self.use_lexicon)(truncate_left=self.truncate_left)
Exemple #2
0
# check for converter modules

import StandardLexicon
from Products.TextIndexNG2.Registry import LexiconRegistry

LexiconRegistry.register('StandardLexicon', StandardLexicon.Lexicon)