Re: wrong docFreq while executing query based on uniqueKey-field

2014-07-22 Thread Jack Krupansky
Deleted documents remain in the Lucene index until an "optimize" or segment merge operation removes them. As a result they are still counted in document frequency. An update is a combination of a delete and an add of a fresh document. -- Jack Krupansky -Original Message- From: Johann

Re: wrong docFreq while executing query based on uniqueKey-field

2014-07-22 Thread Apoorva Gaurav
I faced the same issue sometime back, root cause is docs getting deleted and created again without getting optimized. Here is the discussion http://www.signaldump.org/solr/qpod/22731/docfreq-coming-to-be-more-than-1-for-unique-id-field On Tue, Jul 22, 2014 at 4:56 PM, Johannes Siegert < johannes.