You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Munendra S N (JIRA)" <ji...@apache.org> on 2019/02/04 16:42:00 UTC
[jira] [Comment Edited] (SOLR-13214) non ok status: 414,
message:Request-URI Too Long
[ 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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org