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

Munendra S N edited comment on SOLR-13214 at 2/4/19 4:41 PM:
-------------------------------------------------------------

[~tushar.choudhary]

Reason for 414 status Code - 
[https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/414]
 *QueryRequest* supports passing HTTP method to be used. By default, it is *GET*
 So, code would look something like this
{code:java}
new QueryRequest(solrParams, SolrRequest.METHOD.POST);
{code}
Also, I think this is more like question than an actual issue (*I may be 
wrong*). If that is the case it is better to ask in [Solr-User list 
|http://lucene.apache.org/solr/community.html#solr-user-list-solr-userluceneapacheorg].
 You would get much quicker reply too.


was (Author: munendrasn):
[~tushar.choudhary]

Reason for 414 status Code - 
https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/414
*QueryRequest* supports passing HTTP method to be used. By default, it is *GET*
So, code would look something like this
{code:java}
new QueryRequest(solrParams, SolrRequest.METHOD.POST);
{code}

Also, I think this is more like question than an actual issue (*I may be 
wrong*). If that is the case it is better to case ask in [Solr-User list 
|http://lucene.apache.org/solr/community.html#solr-user-list-solr-userluceneapacheorg].
 You would get much quicker reply too.

> non ok status: 414, message:Request-URI Too Long
> ------------------------------------------------
>
>                 Key: SOLR-13214
>                 URL: https://issues.apache.org/jira/browse/SOLR-13214
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: clients - java
>            Reporter: Tushar Choudhary
>            Priority: Blocker
>              Labels: windows
>
> Getting error from solr 
> org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error 
> from server at "URL" :non ok status: 414, message:Request-URI Too Long
> Can anyone let me know why i am getting this exception and possible solution 
> to overcome this problem.we are using solrCloud and zookeeper.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to