Example #1
0
 def __init__(self, indexstore):
     if not IIndexStore.providedBy(indexstore):
         raise TypeError("indexstore class does not implement IIndexStore")
     Manager.__init__(self)
     self.setName("queries")
     self._indexstore = indexstore
     self.maxResultSize = 10
     self.maxIterations = 5
Example #2
0
 def __init__(self, indexstore):
     if not IIndexStore.providedBy(indexstore):
         raise TypeError("indexstore class does not implement IIndexStore")
     Manager.__init__(self)
     self.setName("queries")
     self._indexstore = indexstore
     self.maxResultSize = 10
     self.maxIterations = 5
     self._task = getUtility(IScheduler).addTask(self.name)
Example #3
0
 def __init__(self, indexstore):
     if not IIndexStore.providedBy(indexstore):
         raise TypeError("indexstore class does not implement IIndexStore")
     Manager.__init__(self)
     self.setName("queries")
     self._indexstore = indexstore
     self.maxResultSize = 10
     self.maxIterations = 5
     self._task = getUtility(IScheduler).addTask(self.name)