You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Elran Dvir <el...@checkpoint.com> on 2015/02/03 14:04:07 UTC
Stats calculation of existInDoc on multivalue fields which are doc
valued
Hi all,
I uploaded a patch (https://issues.apache.org/jira/browse/SOLR-5972) that contains a new statistics result for a field - existInDoc.
It returns the number of documents in which the field has a value (not missing).
This patch is bason on Solr 4.4.
For multivalue fields there is a calculation of existInDoc inside the class UnInvertedField.
Since Solr 4.10 there was a fix for a stats calculation of multi valued field which is doc valued. The class handling it is DocValuesStats.
I want to support existInDoc calculation also for multi valued - doc valued field.
How Should I change DocValuesStats to support this?
Thanks.