search for an index