docID must be >= 0 and < maxDoc=20 (got docID=2144084671)

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web11490

  • docID must be >= 0 and < maxDoc=20 (got docID=2144084671)
  • via Sonatype JIRA by Peter Lynch, 1 year ago
    docID must be >= 0 and < maxDoc=6954 (got docID=6954)
  • via Google Groups by Erick Tryzelaar, 1 year ago
    docID must be >= 0 and < maxDoc=3257 (got docID=-1)
  • Stack trace

    • java.lang.IllegalArgumentException: docID must be >= 0 and < maxDoc=20 (got docID=2144084671) at org.apache.lucene.index.SegmentReader.document( at org.apache.lucene.index.DirectoryReader.document( at at at org.apache.solr.util.SolrPluginUtils.optimizePreFetchDocs( at org.apache.solr.handler.component.QueryComponent.doPrefetch( at org.apache.solr.handler.component.QueryComponent.process( at org.apache.solr.handler.component.SearchHandler.handleRequestBody( at org.apache.solr.handler.RequestHandlerBase.handleRequest( at org.apache.solr.core.SolrCore.execute( at org.apache.solr.servlet.SolrDispatchFilter.execute( at org.apache.solr.servlet.SolrDispatchFilter.doFilter( at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter( at org.apache.catalina.core.ApplicationFilterChain.doFilter( at org.apache.catalina.core.StandardWrapperValve.invoke( at org.apache.catalina.core.StandardContextValve.invoke( at org.apache.catalina.authenticator.AuthenticatorBase.invoke( at org.apache.catalina.core.StandardHostValve.invoke( at org.apache.catalina.valves.ErrorReportValve.invoke( at org.apache.catalina.valves.AccessLogValve.invoke( at org.apache.catalina.core.StandardEngineValve.invoke( at org.apache.catalina.connector.CoyoteAdapter.service( at org.apache.coyote.http11.AbstractHttp11Processor.process( at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process( at$ at java.util.concurrent.ThreadPoolExecutor.runWorker( at java.util.concurrent.ThreadPoolExecutor$ at

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.