[
https://issues.apache.org/jira/browse/LUCENE-7741?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alan Woodward updated LUCENE-7741:
----------------------------------
Attachment: LUCENE-7741.patch
Here is a patch. I tried adding this to both DoubleValuesSource and
DoubleValues, and the latter turns out to be much less invasive. It requires
that DoubleValues are created with a string description, which is then used
both for toString() and for the default explain(). Specialised DoubleValues
can then override explain() if they want to present more complex or involved
Explanations.
> Add explain() to DoubleValues
> -----------------------------
>
> Key: LUCENE-7741
> URL: https://issues.apache.org/jira/browse/LUCENE-7741
> Project: Lucene - Core
> Issue Type: Improvement
> Reporter: Alan Woodward
> Assignee: Alan Woodward
> Attachments: LUCENE-7741.patch
>
>
> As noted on LUCENE-7737, it would be nice to be able to get an explanation
> for DoubleValues values, particularly for things like complex spatial
> distance calculations.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]