Add basic linear search for index.