Have you tried using POST, instead of GET:
https://lucene.apache.org/solr/7_3_0//solr-solrj/org/apache/solr/client/solrj/SolrClient.html#query-java.lang.String-org.apache.solr.common.params.SolrParams-org.apache.solr.client.solrj.SolrRequest.METHOD-

Also, if you have a set of parameters that do not change between
calls, you can have them as defaults (or compulsory) values in
solrconfig.xml for a custom QueryHandler definition. This includes
variable substitutions.

Regards,
   Alex.

On 12 July 2018 at 14:48, Joe Obernberger <joseph.obernber...@gmail.com> wrote:
> Hi - I'm using SolrCloud 7.3.1 and calling a search from Java using:
>
> org.apache.solr.client.solrj.response.QueryResponse response =
> CloudSolrClient.query(ModifiableSolrParams)
>
> If the ModifiableSolrParams are long, I get an error:
> <h1>Bad Message 414</h1><pre>reason: URI Too Long</pre>
>
> I have the maximum number of terms set to 1024 (default), and I'm using
> about 500 terms.  Is there a way around this?  The total query length is
> 10,131 bytes.
>
> Thank you!
>
> -Joe
>

Reply via email to