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



Reply via email to