Re: solrj query size limit?

2009-11-03 Thread Gregg Horan

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





Re: solrj query size limit?

2009-11-02 Thread Avlesh Singh
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 greggho...@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