initial working indexing/search