I have a requirement to highlight important words in document . These important words are maintained in database and has millions of records.
Is percolate is right fit for this requirement. If yes then what should be right approach to create query and indexed it using java.
should i create single boolean query or one query per word?