On Jan 9, 2006, at 1:16 PM, Harini Raghavan wrote:
I am using the highlighter package to highlight my search results. The query I am passing to the Highlighter is: +(Content:"Apple Computer" Content:"Apple Comp") +(Title:"Apple Computer" Title:"Apple Comp") But the Highlighter is highlighting even occurances of terms 'Computer'/'Comp'. Anyone knows how to make sure
that only phrases are highlighted, not just the individual terms?

This is not currently implemented in the Highlighter in contrib/ highlighter. Implementing this has been discussed (by converting a Query to a SpanQuery and leveraging its precise range for highlighting).

It would be greatly welcome to have some patches to achieve this level of precise highlighting!

        Erik


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to