lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ahmed Adel <>
Subject Export feature issue in Solr 4.10
Date Thu, 02 Oct 2014 16:59:00 GMT
Hi All,

I'm trying to use Solr 4.10 export feature, but I'm getting an error. Maybe
I missed something.

Here's the scenario:

   1. Download Solr 4.10.0
   2. Use collection1 schema out of the box
   3. Add docValues="true" to price and pages fields in schema.xml
   4. Index books.json using command line:
   curl http://localhost:8984/solr/collection1/update -H
"Content-Type: text/json" --data-binary
   5. Try running this query:
   6. Here's the error I get:

   java.lang.IllegalArgumentException: docID must be >= 0 and <
maxDoc=4 (got docID=4)
   	at org.apache.lucene.index.BaseCompositeReader.readerIndex(
   	at org.apache.lucene.index.BaseCompositeReader.document(
   	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(

Any ideas what could be missing?

A. Adel

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message