Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Hue Search facet.method

Hue Search facet.method

Explorer
Hi all, i would like to choose the fcs method as method.facet, but even if i define the method in the solrconfig.xml of the collection. The request generated by hue serach does not use this parameter. Any help would be welcome. Thanks, Fred.
3 REPLIES 3

Re: Hue Search facet.method

Hue does not specify any general or per field facet.method, so it won't
appear in the request.

However, if there is a default in the Solr config, AFAIK it should apply at
the Solr level and is probably shown in the headers of the query request.

Romain

Highlighted

Re: Hue Search facet.method

Explorer
Hello Romain,
we use the following config for the request handler select :

<requestHandler name="/select" class="solr.SearchHandler">
<!-- default values for query parameters can be specified, these
will be overridden by parameters in the request
-->
<lst name="defaults">
<str name="echoParams">explicit</str>
<int name="rows">10</int>
<str name="df">text</str>
</lst>
<lst name="invariants">
<str name="facet.method">fcs</str>
</lst>
It seems to be ignored.
We don't know if after this change (solrctl instancedir --update) we need to recreate the collection and to reindex the docs.

Thanks.

Re: Hue Search facet.method

Explorer
Hi, Things gone better after reloading the cores. Nevertheless, there are some slowness issues with hue, some odd behaviors. it could be at the origin of solr server failure ...