I'm not sure if ElasticSearch can handle this, but it sounds a search engine related application. The requirement is:
Giving a company name (100k) list and millions of documents, highlight all hits in each document.
It's not like a typical search engine application, e.g. user inputs a keyword and search engine returns all hits and highlight it. I'm looking into ElasticSearch APIs and trying to figure out how to do it. Anybody has any suggestion? Thanks!