[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lucene-user
Subject:    Duplicate documents
From:       Moshe Immerman <moshe () egis-software ! com>
Date:       2013-06-27 11:00:35
Message-ID: B17AFA7640D144F4A9D000C6FF073420 () egis-software ! com
[Download RAW message or body]


Hi  

We have recently upgraded from Lucene 3.6 to 4.3.1 and have encountered a sometimes \
intermittent issue of IndexSearcher.search returning duplicate documents (based on \
lucene doc no, not a custom field)

i.e.  

TopDocs docs = IndexSearcher.search(query, filter, 100000, sort)
assert docs.scoreDocs[0].doc == docs.scoreDocs[1].doc

Is their a reason that duplicates are returned or a better way of searching so that \
they are not?


Moshe



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic