Multicore Search "Map size must not be negative"

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Multicore Search "Map size must not be negative"

Jörg Agatz
Hallo..

I have create multicore search and will search in more then one Core!

Now i have done:

http://192.168.105.59:8080/solr/mail/select?wt=phps&q=*:*&shards=192.168.105.59:8080/solr/mail,192.168.105.59:8080/solr/mail11

But Error...

HTTP Status 500 - Map size must not be negative
java.lang.IllegalArgumentException: Map size must not be negative at
org.apache.solr.request.PHPSerializedWriter.writeMapOpener(PHPSerializedResponseWriter.java:224)
at
org.apache.solr.request.JSONWriter.writeSolrDocument(JSONResponseWriter.java:398)
at
org.apache.solr.request.JSONWriter.writeSolrDocumentList(JSONResponseWriter.java:553)
at
org.apache.solr.request.TextResponseWriter.writeVal(TextResponseWriter.java:148)
at
org.apache.solr.request.JSONWriter.writeNamedListAsMapMangled(JSONResponseWriter.java:154)
at
org.apache.solr.request.PHPSerializedWriter.writeNamedList(PHPSerializedResponseWriter.java:100)
at
org.apache.solr.request.PHPSerializedWriter.writeResponse(PHPSerializedResponseWriter.java:95)
at
org.apache.solr.request.PHPSerializedResponseWriter.write(PHPSerializedResponseWriter.java:69)
at
org.apache.solr.servlet.SolrDispatchFilter.writeResponse(SolrDispatchFilter.java:325)
at
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:254)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:636)

When i search
http://192.168.105.59:8080/solr/mail/select?wt=php&q=*:*&shards=192.168.105.59:8080/solr/mail,192.168.105.59:8080/solr/mail11

it works but i need wt=phps it is important!

but i dont understand the Problem!!!


Jörg
Reply | Threaded
Open this post in threaded view
|

Re: Multicore Search "Map size must not be negative"

Markus Jelsma-2
That looks like this issue:
https://issues.apache.org/jira/browse/SOLR-2278

On Thursday 20 January 2011 13:02:41 Jörg Agatz wrote:

> Hallo..
>
> I have create multicore search and will search in more then one Core!
>
> Now i have done:
>
> http://192.168.105.59:8080/solr/mail/select?wt=phps&q=*:*&shards=192.168.10
> 5.59:8080/solr/mail,192.168.105.59:8080/solr/mail11
>
> But Error...
>
> HTTP Status 500 - Map size must not be negative
> java.lang.IllegalArgumentException: Map size must not be negative at
> org.apache.solr.request.PHPSerializedWriter.writeMapOpener(PHPSerializedRes
> ponseWriter.java:224) at
> org.apache.solr.request.JSONWriter.writeSolrDocument(JSONResponseWriter.jav
> a:398) at
> org.apache.solr.request.JSONWriter.writeSolrDocumentList(JSONResponseWriter
> .java:553) at
> org.apache.solr.request.TextResponseWriter.writeVal(TextResponseWriter.java
> :148) at
> org.apache.solr.request.JSONWriter.writeNamedListAsMapMangled(JSONResponseW
> riter.java:154) at
> org.apache.solr.request.PHPSerializedWriter.writeNamedList(PHPSerializedRes
> ponseWriter.java:100) at
> org.apache.solr.request.PHPSerializedWriter.writeResponse(PHPSerializedResp
> onseWriter.java:95) at
> org.apache.solr.request.PHPSerializedResponseWriter.write(PHPSerializedResp
> onseWriter.java:69) at
> org.apache.solr.servlet.SolrDispatchFilter.writeResponse(SolrDispatchFilter
> .java:325) at
> org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java
> :254) at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicatio
> nFilterChain.java:235) at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterC
> hain.java:206) at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.j
> ava:233) at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.j
> ava:191) at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:12
> 7) at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:10
> 2) at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.jav
> a:109) at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
> at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
> at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Htt
> p11Protocol.java:588) at
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) at
> java.lang.Thread.run(Thread.java:636)
>
> When i search
> http://192.168.105.59:8080/solr/mail/select?wt=php&q=*:*&shards=192.168.105
> .59:8080/solr/mail,192.168.105.59:8080/solr/mail11
>
> it works but i need wt=phps it is important!
>
> but i dont understand the Problem!!!
>
>
> Jörg

--
Markus Jelsma - CTO - Openindex
http://www.linkedin.com/in/markus17
050-8536620 / 06-50258350