How to highlight pre-defined terms in ElasticSearch?


(lingandcs) #1

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!


(lingandcs) #2

Sounds like highlight APIs can do something, my though is: merge all company names into a single search query and do the search. But this will give too much work load to search engine...


(system) #3