Hi,
Thanks Eric..
The search parameter length is a lot to be done in GET, I am thinking of
opting for POST, is it possible to do POST request to solr. Any
configuration changes or code changes required for the same? I have many
parameters but only one is supposed to be very lengthy.

Any suggestions?

Regards,
Pooja

On Fri, May 7, 2010 at 4:39 PM, Erik Hatcher <erik.hatc...@gmail.com> wrote:

>
> On May 7, 2010, at 6:56 AM, Pooja Verlani wrote:
>
>> In my web-app, i have to fire a query thats too long due to the various
>> boosts I have to give. The size changes according to the query and many a
>> times I get a blank page as I probably cross lucene's character limit. Is
>> it
>> possible to post it otherwise, to solr. Shall I be using POST instead of a
>> GET here? Any other better suggestion?
>>
>
> A few options:
>
>  * Use POST (except you won't see the params in the log files)
>
>  * Tomcat: <
> http://wiki.apache.org/solr/SolrTomcat#Enabling_Longer_Query_Requests>
>
>  * Jetty: <http://wiki.apache.org/solr/SolrJetty#Long_HTTP_GET_Query_URLs>
>
> Or, possibly a lot of your query params can be put into solrconfig.xml, and
> you send over just what changed.  You can do some tricks with param
> substitution to streamline this stuff in some cases.  Some examples of what
> you're sending over would help us see where some improvements could be made.
>
>        Erik
>
>

Reply via email to