I am working on a project where I return the search results for a particular topic from the dataset of scraped news articles. However, for few of the inputs, I get \'IndexEr