java - Solr: How to show if searched keywords are matched or not? -


i don´t want highlight searched keywords, need information keyword exists in document.

my search looks this: q=keyword1 or keyword2 or keyword3 or keyword4

the result should this: document has keyword1 , keyword 3, document b has keyword 3

i didn´t found approach requirement. should parse manually highlight snippet or there others approaches?

there seems no out of box way know keywords matched document.
options highlight, need configure return search terms found.
can run debugquery return matches documents.
both of them expensive operations.


Popular posts from this blog

How to calculate SNR of signals in MATLAB? -

c# - Attempting to upload to FTP: System.Net.WebException: System error -

ios - UISlider customization: how to properly add shadow to custom knob image -