title: Solr Query Delete Limit To 3 Records?
body: <p>Been using Solr 3.2 and the query delete function limits to 3 records so far. If I send in more than 3, will get the following error:</p>
  
  <blockquote>
    <p>Apache Tomcat/7.0.12 - Error
    report525D76;}--> <h1>HTTP Status 500 - JSON Parse Error: char=,,position=77</h1></p>
    
    <p>BEFORE='&quot;:&quot;listingid:623787&quot;},&quot;delete&quot;:{&quot;query&quot;:&quot;listingid:656349&quot;}},'
    AFTER='{&quot;delete&quot;:{&quot;query&quot;:&quot;listingid:955907&quot;}}'</p>
    
    <p>org.apache.noggit.JSONParser$ParseException: JSON Parse Error:
    char=,,position=77
    BEFORE='&quot;:&quot;listingid:623787&quot;},&quot;delete&quot;:{&quot;query&quot;:&quot;listingid:656349&quot;}},'
    AFTER='{&quot;delete&quot;:{&quot;query&quot;:&quot;listingid:955907&quot;}}'
      at org.apache.noggit.JSONParser.err(JSONParser.java:223)    at
    org.apache.noggit.JSONParser.next(JSONParser.java:622)    at
    org.apache.noggit.JSONParser.nextEvent(JSONParser.java:663)   at
    org.apache.solr.handler.JsonLoader.processUpdate(JsonLoader.java:148)
      at org.apache.solr.handler.JsonLoader.load(JsonLoader.java:74)  at
    org.apache.solr.handler.ContentStreamHandlerBase.handleRequestBody(ContentStreamHandlerBase.java:67)
      at
    org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:129)
      at
    org.apache.solr.core.RequestHandlers$LazyRequestHandlerWrapper.handleRequest(RequestHandlers.java:241)
      at org.apache.solr.core.SolrCore.execute(SolrCore.java:1360)    at
    org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:356)
      at
    org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:252)
      at
    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
      at
    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
      at
    org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240)
      at
    org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:164)
      at
    org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:462)
      at
    org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
      at
    org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
      at
    org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:562)
      at
    org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
      at
    org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:395)
      at
    org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:250)
      at
    org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:188)
      at
    org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:166)
      at
    org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:302)
      at
    java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at
    java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:662) <p><b>type</b> Status report</p><p><b>message</b>
    JSON Parse Error: char=,,position=77
    BEFORE='&quot;:&quot;listingid:623787&quot;},&quot;delete&quot;:{&quot;query&quot;:&quot;listingid:656349&quot;}},'
    AFTER='{&quot;delete&quot;:{&quot;query&quot;:&quot;listingid:955907&quot;}}'</p>
    
    <p>org.apache.noggit.JSONParser$ParseException: JSON Parse Error:
    char=,,position=77
    BEFORE='&quot;:&quot;listingid:623787&quot;},&quot;delete&quot;:{&quot;query&quot;:&quot;listingid:656349&quot;}},'
    AFTER='{&quot;delete&quot;:{&quot;query&quot;:&quot;listingid:955907&quot;}}'
      at org.apache.noggit.JSONParser.err(JSONParser.java:223)    at
    org.apache.noggit.JSONParser.next(JSONParser.java:622)    at
    org.apache.noggit.JSONParser.nextEvent(JSONParser.java:663)   at
    org.apache.solr.handler.JsonLoader.processUpdate(JsonLoader.java:148)
      at org.apache.solr.handler.JsonLoader.load(JsonLoader.java:74)  at
    org.apache.solr.handler.ContentStreamHandlerBase.handleRequestBody(ContentStreamHandlerBase.java:67)
      at
    org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:129)
      at
    org.apache.solr.core.RequestHandlers$LazyRequestHandlerWrapper.handleRequest(RequestHandlers.java:241)
      at org.apache.solr.core.SolrCore.execute(SolrCore.java:1360)    at
    org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:356)
      at
    org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:252)
      at
    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
      at
    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
      at
    org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240)
      at
    org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:164)
      at
    org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:462)
      at
    org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
      at
    org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
      at
    org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:562)
      at
    org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
      at
    org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:395)
      at
    org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:250)
      at
    org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:188)
      at
    org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:166)
      at
    org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:302)
      at
    java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at
    java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:662)
    </p><p><b>description</b> The server encountered an internal
    error (JSON Parse Error: char=,,position=77
    BEFORE='&quot;:&quot;listingid:623787&quot;},&quot;delete&quot;:{&quot;query&quot;:&quot;listingid:656349&quot;}},'
    AFTER='{&quot;delete&quot;:{&quot;query&quot;:&quot;listingid:955907&quot;}}'</p>
    
    <p>org.apache.noggit.JSONParser$ParseException: JSON Parse Error:
    char=,,position=77
    BEFORE='&quot;:&quot;listingid:623787&quot;},&quot;delete&quot;:{&quot;query&quot;:&quot;listingid:656349&quot;}},'
    AFTER='{&quot;delete&quot;:{&quot;query&quot;:&quot;listingid:955907&quot;}}'
      at org.apache.noggit.JSONParser.err(JSONParser.java:223)    at
    org.apache.noggit.JSONParser.next(JSONParser.java:622)    at
    org.apache.noggit.JSONParser.nextEvent(JSONParser.java:663)   at
    org.apache.solr.handler.JsonLoader.processUpdate(JsonLoader.java:148)
      at org.apache.solr.handler.JsonLoader.load(JsonLoader.java:74)  at
    org.apache.solr.handler.ContentStreamHandlerBase.handleRequestBody(ContentStreamHandlerBase.java:67)
      at
    org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:129)
      at
    org.apache.solr.core.RequestHandlers$LazyRequestHandlerWrapper.handleRequest(RequestHandlers.java:241)
      at org.apache.solr.core.SolrCore.execute(SolrCore.java:1360)    at
    org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:356)
      at
    org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:252)
      at
    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
      at
    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
      at
    org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240)
      at
    org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:164)
      at
    org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:462)
      at
    org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
      at
    org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
      at
    org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:562)
      at
    org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
      at
    org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:395)
      at
    org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:250)
      at
    org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:188)
      at
    org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:166)
      at
    org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:302)
      at
    java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at
    java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:662) ) that prevented it from
    fulfilling this request.</p><h3>Apache Tomcat/7.0.12</h3></p>
  </blockquote>
  
  <p>I had checked the JSON format using JSONLint and its working fine.  Any ideas?</p>
  
  <p>Thanks</p>
  
  <p>EDIT: This is the current format being tested and I uses curl to perform unit test also confirm this.</p>
  
  <blockquote>
    <p>[{"listingid"  : "793814"},{"listingid"  : "812905"},{"listingid"  :
    "1028111"},{"listingid"  : "454482"},{"listingid"  : "1011465"}]</p>
  </blockquote>