You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by "giovanni.bricconi@banzai.it" <gi...@banzai.it> on 2012/08/10 16:05:36 UTC

solrcloud and facet_pivot

I'm moving my first steps with solr4 alpha and solr cloud, and I'm 
having troubles with the facet.pivot parameter.

starting solr cloudless I am able to use this parameter in some queries:

...facet.pivot=pidlevel_0,pidlevel_1,pidlevel_2,pidlevel_3

obtaining something like this

..."facet_pivot":{
       "pidlevel_0,pidlevel_1,pidlevel_2,pidlevel_3":[{
           "field":"pidlevel_0",
           "value":"/5769",
           "count":21,
           "pivot":[{
               "field":"pidlevel_1",
               "value":"/5769/5822",
               "count":14,
               "pivot":[{
                   "field":"pidlevel_2",
                   "value":"/5769/5822/6725",
                   "count":8,
                   "pivot":[]},
                 {
                   "field":"pidlevel_2",
                   "value":"/5769/5822/6718",
                   "count":5,
                   "pivot":[{
                       "field":"pidlevel_3",
                       "value":"/5769/5822/6718/7965",
                       "count":5}]},....


when I restart solr using these options

-DzkRun -DnumShards=1 -Dbootstrap_conf=true

the facet_pivot options stops working: passing two/three levels ( 
facet.pivot=pidlevel_0,pidlevel_1 or 
facet.pivot=pidlevel_0,pidlevel_1,pidlevel_2) no "facet_pivot" section 
is returned in the response, using 4 levels the server never returns the 
response and cpu goes to 100%.

Does anybody have had problems like this?

I'm using numShards=1 because I would like to have many replicas of the 
full core,



Thanks


RE: solrcloud and facet_pivot

Posted by Markus Jelsma <ma...@openindex.io>.
This may be your problem:
https://issues.apache.org/jira/browse/SOLR-2894

 
 
-----Original message-----
> From:giovanni.bricconi@banzai.it <gi...@banzai.it>
> Sent: Fri 10-Aug-2012 16:08
> To: solr-user@lucene.apache.org
> Subject: solrcloud and facet_pivot
> 
> I'm moving my first steps with solr4 alpha and solr cloud, and I'm 
> having troubles with the facet.pivot parameter.
> 
> starting solr cloudless I am able to use this parameter in some queries:
> 
> ...facet.pivot=pidlevel_0,pidlevel_1,pidlevel_2,pidlevel_3
> 
> obtaining something like this
> 
> ..."facet_pivot":{
>        "pidlevel_0,pidlevel_1,pidlevel_2,pidlevel_3":[{
>            "field":"pidlevel_0",
>            "value":"/5769",
>            "count":21,
>            "pivot":[{
>                "field":"pidlevel_1",
>                "value":"/5769/5822",
>                "count":14,
>                "pivot":[{
>                    "field":"pidlevel_2",
>                    "value":"/5769/5822/6725",
>                    "count":8,
>                    "pivot":[]},
>                  {
>                    "field":"pidlevel_2",
>                    "value":"/5769/5822/6718",
>                    "count":5,
>                    "pivot":[{
>                        "field":"pidlevel_3",
>                        "value":"/5769/5822/6718/7965",
>                        "count":5}]},....
> 
> 
> when I restart solr using these options
> 
> -DzkRun -DnumShards=1 -Dbootstrap_conf=true
> 
> the facet_pivot options stops working: passing two/three levels ( 
> facet.pivot=pidlevel_0,pidlevel_1 or 
> facet.pivot=pidlevel_0,pidlevel_1,pidlevel_2) no "facet_pivot" section 
> is returned in the response, using 4 levels the server never returns the 
> response and cpu goes to 100%.
> 
> Does anybody have had problems like this?
> 
> I'm using numShards=1 because I would like to have many replicas of the 
> full core,
> 
> 
> 
> Thanks
> 
>