lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joel Bernstein <joels...@gmail.com>
Subject Re: Export feature issue in Solr 4.10
Date Thu, 02 Oct 2014 20:10:35 GMT
Yep getting the same error. Investigating...

Joel Bernstein
Search Engineer at Heliosearch

On Thu, Oct 2, 2014 at 12:59 PM, Ahmed Adel <ahmed.adel@badrit.com> wrote:

> 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
> @example/exampledocs/books.json
>    5. Try running this query:
>
> http://localhost:8984/solr/collection1/export?q=*:*&sort=price%20asc&fl=price
>    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(BaseCompositeReader.java:182)
>         at
> org.apache.lucene.index.BaseCompositeReader.document(BaseCompositeReader.java:109)
>         at
> org.apache.solr.search.SolrIndexSearcher.doc(SolrIndexSearcher.java:700)
>         at
> org.apache.solr.util.SolrPluginUtils.optimizePreFetchDocs(SolrPluginUtils.java:213)
>         at
> org.apache.solr.handler.component.QueryComponent.doPrefetch(QueryComponent.java:623)
>         at
> org.apache.solr.handler.component.QueryComponent.process(QueryComponent.java:507)
>         at
> org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:218)
>         at
> org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:135)
>         at org.apache.solr.core.SolrCore.execute(SolrCore.java:1967)
>         ...
>
>
> Any ideas what could be missing?
>
> Thanks,
> A. Adel
>

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