lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Smiley (JIRA)" <>
Subject [jira] [Commented] (SOLR-9987) Implement support for multi-valued DocValues in PointFields
Date Sat, 11 Feb 2017 06:03:41 GMT


David Smiley commented on SOLR-9987:

Wow you did a lot of work for this!  Thanks for doing this work.

As I skimmed through with curiosity, one thing caught my eye:
+//            We should do this, but mincount=0 is currently the default
+//            if (ft.isPointField() && mincount <= 0) {
+//              throw new SolrException(ErrorCode.BAD_REQUEST, FacetParams.FACET_MINCOUNT
+ " <= 0 is not supported on point types");
+//            }

Judging from this and nearby code changes, if minCount is 0 then you make it 1 instead (for
PointFields only); is this right?  This seems wrong to me.  I suspect we all agree that the
default of 0 is unfortunate but ignoring it and pretending it's not in certain cases but not
others seems wrong.  Instead, I propose that we make the default '1' for 7.0.  Obviously such
a change would be in another issue.

> Implement support for multi-valued DocValues in PointFields
> -----------------------------------------------------------
>                 Key: SOLR-9987
>                 URL:
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Tomás Fernández Löbbe
>            Assignee: Tomás Fernández Löbbe
>         Attachments: SOLR-9987.patch, SOLR-9987.patch
> This is not currently supported, and since PointFields can't use FieldCache, faceting,
stats, etc is not supported on multi-valued point fields. Followup task of SOLR-8396

This message was sent by Atlassian JIRA

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

View raw message