You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by "EXTERNAL Taminidi Ravi (ETI, Automotive-Service-Solutions)" <ex...@us.bosch.com> on 2014/06/23 19:37:41 UTC

POST Vs GET

Hi, I am executing a solr query runs 10 to 12 lines with all the boosting and condition. I change the Http Contentype to POST from GET as post doesn't have any restriction for size. But I am getting an error. I am using Tomcat 7, Is there any place we need to specify in Tomcat to accept POST..

FYI, From my Jetty solr version everthing works good.

Thanks

Ravi

RE: POST Vs GET

Posted by "EXTERNAL Taminidi Ravi (ETI, Automotive-Service-Solutions)" <ex...@us.bosch.com>.
I have few questions before that.
Do you mean, running Jetty in Production is good enough? Like, all Clustering, Load Balance  will be taken care..?
Can we run Jetty as a service in windows Server.?
Security won't be a problem if we use Jetty..?

I am in the impression, Tomcat will be more robust on handling  all these heading.. 

May be i can think about running in Jetty in production.

--Ravi

-----Original Message-----
From: Shalin Shekhar Mangar [mailto:shalinmangar@gmail.com] 
Sent: Monday, June 23, 2014 2:30 PM
To: solr-user@lucene.apache.org
Subject: Re: POST Vs GET

Why don't you just use the jetty shipped with Solr? It has all the correct defaults. In future, we may not even support shipping a war file.


On Mon, Jun 23, 2014 at 11:07 PM, EXTERNAL Taminidi Ravi (ETI,
Automotive-Service-Solutions) <ex...@us.bosch.com> wrote:

> Hi, I am executing a solr query runs 10 to 12 lines with all the 
> boosting and condition. I change the Http Contentype to POST from GET 
> as post doesn't have any restriction for size. But I am getting an 
> error. I am using Tomcat 7, Is there any place we need to specify in 
> Tomcat to accept POST..
>
> FYI, From my Jetty solr version everthing works good.
>
> Thanks
>
> Ravi
>



--
Regards,
Shalin Shekhar Mangar.

Re: POST Vs GET

Posted by Shalin Shekhar Mangar <sh...@gmail.com>.
Why don't you just use the jetty shipped with Solr? It has all the correct
defaults. In future, we may not even support shipping a war file.


On Mon, Jun 23, 2014 at 11:07 PM, EXTERNAL Taminidi Ravi (ETI,
Automotive-Service-Solutions) <ex...@us.bosch.com> wrote:

> Hi, I am executing a solr query runs 10 to 12 lines with all the boosting
> and condition. I change the Http Contentype to POST from GET as post
> doesn't have any restriction for size. But I am getting an error. I am
> using Tomcat 7, Is there any place we need to specify in Tomcat to accept
> POST..
>
> FYI, From my Jetty solr version everthing works good.
>
> Thanks
>
> Ravi
>



-- 
Regards,
Shalin Shekhar Mangar.

Re: POST Vs GET

Posted by Sameer Maggon <sa...@measuredsearch.com>.
Ravi,

The POST should work. Here's an example that works within tomcat.

curl -X POST --data "q=*:*&rows=1"
http://localhost:8080/solr/collection1/select

Sameer.


On Mon, Jun 23, 2014 at 10:37 AM, EXTERNAL Taminidi Ravi (ETI,
Automotive-Service-Solutions) <ex...@us.bosch.com> wrote:

> Hi, I am executing a solr query runs 10 to 12 lines with all the boosting
> and condition. I change the Http Contentype to POST from GET as post
> doesn't have any restriction for size. But I am getting an error. I am
> using Tomcat 7, Is there any place we need to specify in Tomcat to accept
> POST..
>
> FYI, From my Jetty solr version everthing works good.
>
> Thanks
>
> Ravi
>



-- 
*Sameer Maggon*
http://measuredsearch.com