To Implement Linear Search for Index Search