Solrj1.4 supports QueryRequest#setMethod(SolrRequest.METHOD.POST)

but Solrj1.3 does not.

-Ankit
________________________________________
From: Shalin Shekhar Mangar [shalinman...@gmail.com]
Sent: Wednesday, October 14, 2009 11:08 AM
To: solr-user@lucene.apache.org
Subject: Re: POST queries to Solr instead of HTTP Gets with query string        
parameters

On Wed, Oct 14, 2009 at 8:06 PM, Glock, Thomas <thomas.gl...@pfizer.com>wrote:

>
> Is a way to POST queries to Solr instead of supplying query string
> parameters ?
>
>
All Solr requests are normal HTTP requests. Most HTTP client libraries in
various languages have a way to select POST instead of GET. If you are using
Solrj client, then you can use
QueryRequest#setMethod(SolrRequest.METHOD.POST)

--
Regards,
Shalin Shekhar Mangar.

Reply via email to