Hi, I have been using solrsharp to integrate solr in my project. Everything was going fine until I tried to incorporate shard query. I tested the shard query using the browser and everything went fine. I tried to do the same in solrsharp by adding the following line
queryBuilder.AddSearchParameter("shards", @"solrserver:8983/solr/Core1"); When running the app I get the following error in logs. Can someone help me with this? Sep 30, 2010 9:37:19 AM org.apache.solr.core.SolrCore execute INFO: [Core1] webapp=/solr path=/select/ params={shards=solrserver:8983/solr/Core1&fl=id&sort=id+asc&debugQuery=false&start=0&q=((((text:*))))&rows=2147483647} status=500 QTime=0 Sep 30, 2010 9:37:19 AM org.apache.solr.common.SolrException log SEVERE: java.lang.NegativeArraySizeException at org.apache.lucene.util.PriorityQueue.initialize(PriorityQueue.java:89) at org.apache.solr.handler.component.ShardFieldSortedHitQueue.<init>(ShardDoc.java:110) at org.apache.solr.handler.component.QueryComponent.mergeIds(QueryComponent.java:393) at org.apache.solr.handler.component.QueryComponent.handleResponses(QueryComponent.java:298) at org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:290) at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:131) at org.apache.solr.core.SolrCore.execute(SolrCore.java:1316) at org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:338) at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:241) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1089) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:365) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405) at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:211) at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139) at org.mortbay.jetty.Server.handle(Server.java:285) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:502) at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:835) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:641) 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) -- View this message in context: http://lucene.472066.n3.nabble.com/Shard-Query-in-Solrsharp-tp1606768p1606768.html Sent from the Solr - User mailing list archive at Nabble.com.