[KinoSearch] Finding matching search terms
Marvin Humphrey
marvin at rectangular.com
Sun Dec 30 18:46:28 PST 2007
On Sun, Dec 30, 2007 at 04:03:04PM -0800, colossus forbin wrote:
> How do you find out which of the query terms resulted in a particular hit?
This information is not preserved during the scoring process. The scoring
apparatus feeds doc_num/score pairs into a HitCollector object; that's all
it ever sees. It doesn't know about what parts of a composite scorer
contributed to the score, nor how much they contributed.
The potential exists for us to sprinkle explain() methods throughout the
library, but these would be for debugging and demonstration rather than
production, as dealing with multi-tiered Explanation objects rather than
simple ScoreDocs would be expensive.
> Also, would it be possible to find out which of the terms resulted in no
> hits? I'd hate to have to perform a separate search on each term and then
> merge the results.
What is the final objective?
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