We are using the SolrJ client to query documents from Solr. The query that we are building is large and Solr is rejecting the query (with error response 414 URI Too Long
).
However, I can directly call Solr's /query
endpoint and post the query as the body using a POST request. Is there a way to do this using the SolrJ client?