[
https://issues.apache.org/jira/browse/SOLR-3945?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18132053#comment-18132053
]
Nick Shanin edited comment on SOLR-3945 at 10/26/26, 4:01 AM:
--------------------------------------------------------------
>From code reading against apache/main b73f03976fa, SolrQuery.setFacet(false)
>removes the facet parameters rather than sending facet=false
>(solr/solrj/src/java/org/apache/solr/client/solrj/request/SolrQuery.java:370-378).
> A handler whose defaults set facet=true would still compute facets. Is a fix
>still wanted, meaning send facet=false? Or is removing the parameter the
>intended meaning?
🤖 AI-generated 🤖
was (Author: JIRAUSER314749):
>From code reading against apache/main b73f03976fa, SolrQuery.setFacet(false)
>removes the facet parameters rather than sending facet=false
>(solr/solrj/src/java/org/apache/solr/client/solrj/request/SolrQuery.java:370-378).
> A handler whose defaults set facet=true would still compute facets. Is a fix
>still wanted, meaning send facet=false? Or is removing the parameter the
>intended meaning?
🤖 _AI text above_ 🤖 _(reviewed by Nick Shanin)_
> SolrJ SolrQuery.setFacet(false) does not add 'facet=false' to URL params
> ------------------------------------------------------------------------
>
> Key: SOLR-3945
> URL: https://issues.apache.org/jira/browse/SOLR-3945
> Project: Solr
> Issue Type: Bug
> Components: clients - java, SolrJ
> Affects Versions: 3.6.1
> Reporter: Sascha Szott
> Priority: Major
>
> The standard request handler is configured with
> {code}
> <bool name="facet">true</bool>
> {code}
> in the {{default}} section.
> If I do not want to retrieve (and compute) facets for a specific query, I can
> add 'facet=false' to the list of URL parameters. But SolrJ's
> SolrQuery.setFacet(false) does not add this parameter.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]