lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ahmet Arslan <>
Subject Re: solr export get wrong results
Date Fri, 26 Dec 2014 12:19:49 GMT

Two different things :

If you have unique key defined document with same id override within a single shard.

Plus, uniqueIDs expected to be unique across shards.


On Friday, December 26, 2014 11:00 AM, Sandy Ding <> wrote:
Hi, all

I've recently set up a solr cluster and found that "export" returns
different results from "select".
And I confirmed that the "export" results are wrong by manually query the
Even simple queries as follows will get different results:

curl "http://localhost:8983/solr/pa_info/select?q=*:*&fl=id&sort=id+desc":

    <response><lst name="responseHeader"><int name="status">0</int><int
name="QTime">11</int><lst name="params"><str name="sort">id desc</str><str
name="fl">id</str><str name="q">*:*</str></lst></lst><result
name="response" *numFound="1197"* start="0"><doc>...</doc></result>

curl "http://localhost:8983/solr/pa_info/export?q=*:*&fl=id&sort=id+desc" :
    {*"numFound":172*, "docs":[..]

Don't have a clue why this happen! Anyone help?


View raw message