I use a filter query (fq) parameter in my requests to limit the select response to a subset of all document ids. I'm getting a Solr exception when the number of values in the fq approaches 1000. I get the following response from Solr:

_header=[6518349,32231686,m=4,g=4096,p=4096,c=4096]={/solr/select?q=ship&fl=id,score&fq=id:(883108+1355308+
... <<several 100's of ids>> ... +851832976+8536687}{}
_buffer=[6518349,32231686,m=4,g=4096,p=4096,c=4096]={/solr/select?q=ship&fl=id,score&fq=id:(883108+1355308+
... <<several 100's of ids>> ... +851832976+8536687}{}
2008-04-03 10:42:54.005::WARN:  handle failed
java.io.IOException: FULL
        at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:274)
        at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:202)
        at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:378)
at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:226) at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)


The id field is currently a string. Would it help to make it a long int? Is there some internal limit on the number of values in a fq or is there a configuration parameter that will allow me to increase this number?

Thanks,

Phil

Reply via email to