def __init__(self): lucene.initVM() self._lversion = Version.LUCENE_30 self._analyzer = EnglishAnalyzer(self._lversion) self._searcher = IndexSearcher(SimpleFSDirectory(File(self.indexDir))) self._translation = loadTranslation() self._links = loadLinks()
def __init__(self): self._links = loadLinks()