def create_index(self, wiki_path):
        if not os.path.exists(self.index_dir):
            os.mkdir(self.index_dir)

        print('Creating the search index ...')
        self._ix = index.create_in(self.index_dir, WikiSchema)
        self._populate_index(wiki_path)
Create the search index and populate with initial wiki content.
dataset/ETHPy150Open mblayman/markwiki/markwiki/search/engine.py/SearchEngine.create_index