* @throws ClassNotFoundException
* @throws InvalidIndexException
*/
public NearestNeighborSearcher(String indexDir) throws FileNotFoundException, IOException, ClassNotFoundException, InvalidIndexException
{
reader = new IndexReader(indexDir);
reader.initializeOptions();
reader.initializePermutationIndex();
reader.initializePermutationLists();
reader.initializeRawVecs();
rawVectorMap = reader.rawVectorMap;