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