[KinoSearch] KinoSearch highlight Field-specific terms
Marvin Humphrey
marvin at rectangular.com
Thu Aug 21 21:42:19 PDT 2008
On Aug 18, 2008, at 6:46 AM, Riyaad Miller wrote:
> When passing the query string "+Health +language:(English) +region:
> (Africa International) +skip:repeat", KS returns strings found in
> region (eg. Africa) as part of the bodytext category. I'd like to
> tell KS to search for only "Health" in the bodytext category and
> limit the search to where my region is Africa|International and
> where my language is "English" and of course skip is repeat. I know
> that the field-specific search are working nicely as I've been
> playing around with the values in skip and language and these yield
> the correct results but the problem remains the KS ignores the Field-
> specific terms being passed.
If I understand you correctly, the problem is that the excerpt has
some words highlighted that you don't want highlighted... ?
In the devel branch you can control this because you can supply a
different Query object to the Highlighter than the one that you
supplied to the Searcher. However, that feature won't be backported
to maint.
Marvin Humphrey
Rectangular Research
http://www.rectangular.com/
_______________________________________________
KinoSearch mailing list
KinoSearch at rectangular.com
http://www.rectangular.com/mailman/listinfo/kinosearch
More information about the kinosearch
mailing list