Example #1
0
 def unindex(self, with_versions=True):
     if with_versions:
         task = CatalogingTask.get()
         for version in self.get_indexable_versions():
             task.unindex(version)
     super(VersionedContentCataloging, self).unindex()
Example #2
0
 def unindex(self, with_versions=True):
     if with_versions:
         task = CatalogingTask.get()
         for version in self.get_indexable_versions():
             task.unindex(version)
     super(VersionedContentCataloging, self).unindex()
Example #3
0
 def reindex(self, indexes=None, with_versions=True):
     super(VersionedContentCataloging, self).reindex(indexes=indexes)
     if with_versions:
         task = CatalogingTask.get()
         for version in self.get_indexable_versions():
             task.reindex(version, indexes)
Example #4
0
 def reindex(self, indexes=None, with_versions=True):
     super(VersionedContentCataloging, self).reindex(indexes=indexes)
     if with_versions:
         task = CatalogingTask.get()
         for version in self.get_indexable_versions():
             task.reindex(version, indexes)