Implemented index method on searchRepository