Re: POST queries to Solr instead of HTTP Gets with query string parameters

2009-10-14 Thread Shalin Shekhar Mangar
On Wed, Oct 14, 2009 at 8:54 PM, Ankit Bhatnagar wrote:

>
>
> Solrj1.4 supports QueryRequest#setMethod(SolrRequest.METHOD.POST)
>
> but Solrj1.3 does not.
>
>
I just checked the 1.3 release. It most definitely exists in 1.3

-- 
Regards,
Shalin Shekhar Mangar.


RE: POST queries to Solr instead of HTTP Gets with query string parameters

2009-10-14 Thread Ankit Bhatnagar


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 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.


Re: POST queries to Solr instead of HTTP Gets with query string parameters

2009-10-14 Thread Shalin Shekhar Mangar
On Wed, Oct 14, 2009 at 8:06 PM, Glock, Thomas 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.


POST queries to Solr instead of HTTP Gets with query string parameters

2009-10-14 Thread Glock, Thomas

Is a way to POST queries to Solr instead of supplying query string
parameters ?

Some of our queries may hit up against URL size limits.

If so, can someone provide an example ?

Thanks in advance