[KinoSearch] which field matched a term
Ashley Pond V
ashley.pond.v at gmail.com
Wed Feb 24 09:18:14 PST 2010
On Wed, Feb 24, 2010 at 7:15 AM, Peter Karman <peter at peknet.com> wrote:
> How do I know which field a term matched in?
> E.g., if I am creating a Highlighter object, I need to pass in a field
> name, but how do I know which (of potentially dozens) of fields to pick?
Related note: I'd like to be able to use the highlighter on more than
one field at a time. I have s simple case where it's title and body
and it was easy enough to fake the body's matching highlighting on the
title with a s///. But the highlighter proper is smarter about
stemming and such and reflects, for sure, the match.
I know this is not possible now, just putting it out as a wish. :)
More information about the kinosearch