You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Munendra S N (JIRA)" <ji...@apache.org> on 2019/08/18 10:20:00 UTC

[jira] [Updated] (SOLR-6328) facet.limit=0 returns no counts, even if facet.missing=true

     [ https://issues.apache.org/jira/browse/SOLR-6328?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Munendra S N updated SOLR-6328:
-------------------------------
    Attachment: SOLR-6328.patch

> facet.limit=0 returns no counts, even if facet.missing=true
> -----------------------------------------------------------
>
>                 Key: SOLR-6328
>                 URL: https://issues.apache.org/jira/browse/SOLR-6328
>             Project: Solr
>          Issue Type: Bug
>          Components: faceting
>            Reporter: Hoss Man
>            Priority: Minor
>         Attachments: SOLR-6328.patch, SOLR-6328.patch
>
>
> facet.limit constraints the number of term values returned for a field when using facet.field or facet.pivot, but that limit is (suppose) to be independent of facet.missing, which adds an additional count beyond the facet.limit for docs that are "missing" that field.
> This works fine for facet.limit >= 1, but if you use {{facet.limit=0&facet.missing=true}} (ie: you are only interested in the missing count) you get no counts at all -- not even for the missing count.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org