lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gregg Horan <gregg.ho...@dealer.com>
Subject Re: solrj query size limit?
Date Tue, 03 Nov 2009 14:08:27 GMT
That was it.  Didn't see that optional parameter - the POST works.

Thanks!


On Nov 3, 2009, at 1:57 AM, Avlesh Singh wrote:

> Did you hit the limit for maximum number of characters in a GET  
> request?
>
> Cheers
> Avlesh
>
> On Tue, Nov 3, 2009 at 9:36 AM, Gregg Horan <gregghoran@gmail.com>  
> wrote:
>
>> I'm constructing a query using solrj that has a fairly large number  
>> of 'OR'
>> clauses.  I'm just adding it as a big string to setQuery(), in the  
>> format
>> "accountId:(this OR that OR yada)".
>>
>> This works all day long with 300 values.  When I push it up to  
>> 350-400
>> values, I get a "Bad Request" SolrServerException.  It appears to  
>> just be a
>> client error - nothing reaching the server logs.  Very  
>> repeatable... dial
>> it
>> back down and it goes through again fine.
>>
>> The total string length of the query (including a handful of other  
>> faceting
>> entries) is about 9500chars.   I do have the maxBooleanClauses  
>> jacked up to
>> 2048.  Using javabin.  1.4-dev.
>>
>> Are there any other options or settings I might be overlooking?
>>
>> -Gregg
>>


Mime
View raw message