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

Yonik Seeley commented on SOLR-755:
-----------------------------------

bq. Is there any reason why sorting is only turned on for limits > 0?

Back compatibility.  At one point there was no facet.sort... before I added it, 
facet.limit read as follows:
{quote}
 == facet.limit ==
This param indicates the maximum number of constraint counts that should be 
returned for the facet fields.  If a non-negative value is specified, the 
constraints (ie: Terms) will be sorted by the facet count (descending) and only 
the top N terms will be returned with their counts.  A negative value will 
result in every constraint being returned, in no partiular order.
{quote}

> facet.limit=-1 does not work in distributed search
> --------------------------------------------------
>
>                 Key: SOLR-755
>                 URL: https://issues.apache.org/jira/browse/SOLR-755
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Yonik Seeley
>            Assignee: Yonik Seeley
>            Priority: Minor
>         Attachments: SOLR-755.patch, SOLR-755.patch
>
>
> If you specify facet.limit=-1 in distributed mode, no facet results are 
> returned.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to