Hi,

One of the requirements of the application I'm currently working on is highlighting of matching terms not only in the search result page but also when the user clicks on a result and the whole page is displayed. In this particular app it is not possible to just query for the selected document and set hl.fragsize=0. For display, I have
to retrieve the document from a different source.

Is there a "best practice" to retrieve all the highlighted terms? I thought about setting hl.fragsize=1 and using an xsltresponsewriter to filter out the highlighted keywords.
Is there an easier/cleaner solution?

Thanks,

Thomas

Reply via email to