lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brett Lucey (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-5854) facet.limit can limit the output of facet.pivot when facet.sort is on
Date Sun, 18 May 2014 04:47:14 GMT

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

Brett Lucey commented on SOLR-5854:
-----------------------------------

Hmn.  I think you might be using the facet.sort parameter incorrectly.  If you visit http://wiki.apache.org/solr/SimpleFacetParameters#facet.sort
it states that the two expected values are "count" or "index".  I've been in the facet code
somewhat recently and haven't seen anything that would imply that what you are trying to do
with facet.sort would work.


> facet.limit can limit the output of facet.pivot when facet.sort is on
> ---------------------------------------------------------------------
>
>                 Key: SOLR-5854
>                 URL: https://issues.apache.org/jira/browse/SOLR-5854
>             Project: Solr
>          Issue Type: Bug
>          Components: SolrCloud
>    Affects Versions: 4.4
>            Reporter: Gennaro Frazzingaro
>
> Given the query
> {code}
> {
> "facet":"true",
> "facet.pivot":"field1,field2",
> "facet.pivot.mincount":"1",
> "facet.sort":"field1 asc, field2 asc",
> "q":"",
> "rows":"1000",
> "start":"0",
> }
> {code}
> not all results are returned.
> Removing facet.sort or setting facet.limit=-1 corrects the problem



--
This message was sent by Atlassian JIRA
(v6.2#6252)

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


Mime
View raw message