Beispiel #1
0
 def exists(self):
     """ Check if the Xapian index exists """
     return BaseIndex.exists(self) and os.listdir(self.dir)
Beispiel #2
0
 def __init__(self, request):
     self._check_version()
     BaseIndex.__init__(self, request)