async pGetSearchIndex () {
		BrewUtil._buildSourceCache();
		const indexer = new Omnidexer(Omnisearch.highestId + 1);

		await BrewUtil.pAddBrewData();
		if (BrewUtil.homebrew) {
			Omnidexer.TO_INDEX__FROM_INDEX_JSON.filter(ti => BrewUtil.homebrew[ti.listProp]).forEach(ti => indexer.addToIndex(ti, BrewUtil.homebrew));
			Omnidexer.TO_INDEX.filter(ti => BrewUtil.homebrew[ti.listProp]).forEach(ti => indexer.addToIndex(ti, BrewUtil.homebrew));
		}
		return indexer.getIndex();
	}
/**
	 * Get data in a format similar to the main search index
	 */
Get data in a format similar to the main search index
Get data in a format similar to the main search index
async pGetSearchIndex () {
		BrewUtil._buildSourceCache();
		const indexer = new Omnidexer(Omnisearch.highestId + 1);
		await BrewUtil.pAddBrewData();
		if (BrewUtil.homebrew) {
			Omnidexer.TO_INDEX__FROM_INDEX_JSON.filter(ti => BrewUtil.homebrew[ti.listProp]).forEach(ti => indexer.addToIndex(ti, BrewUtil.homebrew));
			Omnidexer.TO_INDEX.filter(ti => BrewUtil.homebrew[ti.listProp]).forEach(ti => indexer.addToIndex(ti, BrewUtil.homebrew));
		}
		return indexer.getIndex();
	}
async pGetSearchIndex ( ) { BrewUtil . _buildSourceCache ( ) ; const indexer = new Omnidexer ( Omnisearch . highestId + 1 ) ; await BrewUtil . pAddBrewData ( ) ; if ( BrewUtil . homebrew ) { Omnidexer . TO_INDEX__FROM_INDEX_JSON . filter ( ti => BrewUtil . homebrew [ ti . listProp ] ) . forEach ( ti => indexer . addToIndex ( ti , BrewUtil . homebrew ) ) ; Omnidexer . TO_INDEX . filter ( ti => BrewUtil . homebrew [ ti . listProp ] ) . forEach ( ti => indexer . addToIndex ( ti , BrewUtil . homebrew ) ) ; } return indexer . getIndex ( ) ; }
Get data in a format similar to the main search index
Get data in a format similar to the main search index