If you want it to happen pretty fast. Try elastic search percolator. It exactly fits your requirement.
For java api check this link out.
1
solved Extract matching words from files
If you want it to happen pretty fast. Try elastic search percolator. It exactly fits your requirement.
For java api check this link out.
1
solved Extract matching words from files