I have a Facet with long quey. ّI got an error (URI too long) when I run this query inside spark executors. as I searched, Solrj sends requests via the GET method. I'm wondering who can I change the request method to POST in the solr option Map?
new QueryRequest(solrParams, SolrRequest.METHOD.POST);
I'm looking for something like this:
val option = Map( "zkhost" -> zkhost, "collection" -> collection, "expr" -> facetExpr, "method" -> POST )
I have a Facet with long quey. ّI got an error (URI too long) when I run this query inside spark executors. as I searched, Solrj sends requests via the GET method. I'm wondering who can I change the request method to POST in the solr option Map?
new QueryRequest(solrParams, SolrRequest.METHOD.POST);
I'm looking for something like this:
val option = Map( "zkhost" -> zkhost, "collection" -> collection, "expr" -> facetExpr, "method" -> POST )