[
https://issues.apache.org/jira/browse/SOLR-7417?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Yonik Seeley updated SOLR-7417:
-------------------------------
Attachment: SOLR-7417.patch
OK, Here's a patch implementing unique() for numeric fields.
> Aggregation Function unique() returns 0 when an int or date field is passed
> as argument
> ---------------------------------------------------------------------------------------
>
> Key: SOLR-7417
> URL: https://issues.apache.org/jira/browse/SOLR-7417
> Project: Solr
> Issue Type: Bug
> Affects Versions: 5.1
> Reporter: LevanDev
> Assignee: Yonik Seeley
> Attachments: SOLR-7417.patch
>
>
> uniqueValues:'unique(myIntField)'
> uniqueValues:'unique(myDateField)'
> Result:
> "facets":{
> "count": someNumber,
> "uniqueValues":0}}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]