Add interfaces for searching with index. (#124)