Hi,

I am using the following parameters for faceting, request solr to use the
UIF method;

&facet=on&facet.field=color&q=*:*&facet.method=uif&facet.mincount=1&debugQuery=true

It works as expected in my local standalone solr:


   - facet-debug:
   {
      - elapse: 2,
      - sub-facet:
      [
         -
         {
            - processor: "SimpleFacets",
            - elapse: 2,
            - action: "field facet",
            - maxThreads: 0,
            - sub-facet:
            [
               -
               {
                  - elapse: 2,
                  - requestedMethod: "UIF",
                  - appliedMethod: "UIF",
                  - inputDocSetSize: 8191,
                  - field: "color"
                  }
               ]
            }
         ]
      },


However when I apply the same query to solr cloud with multiple shards, the
appliedMethod is alway FC instead of UIF:

{

   - processor: "SimpleFacets",
   - elapse: 18,
   - action: "field facet",
   - maxThreads: 0,
   - sub-facet:
   [
      -
      {
         - elapse: 58,
         - requestedMethod: "UIF",
         - appliedMethod: "FC",
         - inputDocSetSize: 33487,
         - field: "color",
         - numBuckets: 238
         }
      ]

}

I also see that in standalone mode fieldValueCache is used with UIF
applied, but in cloud mode fieldValueCache is always empty.  Are there any
other parameters I need to apply UIF faceting in solr cloud?

Thanks,
Wei

Reply via email to