[
https://issues.apache.org/jira/browse/SOLR-6668?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Christoph Strobl updated SOLR-6668:
-----------------------------------
Description:
The stats component returns {{sumOfSquares}} as part of its result. The value
is picked up by {{FieldStatsInfo}} but cannot be directly accessed as there's
no getter present.
The value is also missing in {{toString()}}.
_SideNote:_ when in the class anyway it would be nice if a
{{SolrServerException}} instead of plain {{RuntimeException}} could be thrown
for unknown keys.
was:
The stats component returns {{sumOfSquares}} as part of its result. The value
is picked up by {{FieldStatsInfo}} but cannot be directly accessed as there's
no getter present.
The value is also missing in {{toString()}}.
_SideNote:_ when in the class anyway it would be nice if {{min}}, {{max}},
{{sum}} would not be exposed/kept as {{Object}} but {{Double}} instead and if a
{{SolrServerException}} instead of plain {{RuntimeException}} could be thrown
for unknown keys.
> FieldStatsInfo should expose sumOfSquares.
> ------------------------------------------
>
> Key: SOLR-6668
> URL: https://issues.apache.org/jira/browse/SOLR-6668
> Project: Solr
> Issue Type: Improvement
> Components: SolrJ
> Affects Versions: 4.10.1
> Reporter: Christoph Strobl
> Priority: Minor
>
> The stats component returns {{sumOfSquares}} as part of its result. The value
> is picked up by {{FieldStatsInfo}} but cannot be directly accessed as there's
> no getter present.
> The value is also missing in {{toString()}}.
> _SideNote:_ when in the class anyway it would be nice if a
> {{SolrServerException}} instead of plain {{RuntimeException}} could be thrown
> for unknown keys.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]