[ 
https://issues.apache.org/jira/browse/SOLR-7681?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14591374#comment-14591374
 ] 

Ramkumar Aiyengar commented on SOLR-7681:
-----------------------------------------

Ideally yes, and there's no particular reason I know of why we don't always use 
it. I think there's still an issue out there to prevent all updates through GET 
(or may be that was resolved, I don't remember)..

The only real concern here is that the size restrictions on GET are much more 
restrictive than POST, and queries can sometimes be as big as updates. If Jetty 
can safely be modified to accept GETs of any size without perf concerns, then 
probably this is lesser of a problem.

> HttpSolrClient fails with a confusing error when a GET request is too big
> -------------------------------------------------------------------------
>
>                 Key: SOLR-7681
>                 URL: https://issues.apache.org/jira/browse/SOLR-7681
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Ramkumar Aiyengar
>            Priority: Minor
>
> If a request is sent with too long an URL for GET, the Solr server responds 
> as follows:
> {code}
> HTTP/1.1 413 FULL head
> Content-Length: 0
> Connection: close
> Server: Jetty(8.1.10.v20130312)
> {code}
> {{oascsi.HttpSolrServer.executeMethod}} currently in such a situation, goes 
> ahead and tries to parse a {{Content-Type}} header in such a case and ends up 
> with a {{SolrServerException: Error executing query}} caused by 
> {{org.apache.http.ParseException: Invalid content type}}.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to