lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "paul.elschot (JIRA)" <>
Subject [jira] Commented: (LUCENE-605) Make Explanation include information about match/non-match
Date Mon, 19 Jun 2006 17:39:30 GMT
    [ ] 

paul.elschot commented on LUCENE-605:

The purpose of Explanation is to explain all the "mysteries" of query search, so it would
be worthwhile to use an extra class for the micro explanations. Since these currently are
just Explanations without a match, why not make the micro explanations  a superclass of Explanation?
It might even be simpler to make MatchExplanation a subclass of the existing Explanation,
and hope that that does not break backwards compatbility later (I don't know.)
Such a class structure would be counterintuitive to Matcher as superclass/superinterface of
Scorer, so maybe it should be the other way round: make MatchExplanation a superclass of Explanation.

Sorry for the rant, I should take a bit more time to consider things before typing comments...

> Make Explanation include information about match/non-match
> ----------------------------------------------------------
>          Key: LUCENE-605
>          URL:
>      Project: Lucene - Java
>         Type: Improvement

>   Components: Search
>     Reporter: Hoss Man
>     Assignee: Hoss Man
>  Attachments: demo-fix.patch
> As discussed, I'm looking into the possibility of improving the Explanation class to
include some basic info about the "match" status of the Explanation -- independent of the
> This is neccesary to deal with things like LUCENE-451

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message