[ 
https://issues.apache.org/jira/browse/SOLR-6328?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16910481#comment-16910481
 ] 

ASF subversion and git services commented on SOLR-6328:
-------------------------------------------------------

Commit 0654c2496d3d624f0ddfbe6e31e1755e157b2266 in lucene-solr's branch 
refs/heads/master from Munendra S N
[ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=0654c24 ]

SOLR-6328: return missing count for facet.missing=true even if limit=0

* facet.missing is independent of facet.limit. So, even for limit=0,
  missing counts should be return if facet.missing=true


> 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, SOLR-6328.patch, 
> 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
(v8.3.2#803003)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to