: 1)then i can think of that "maxDocs- numDocs " should be the maximum(upper : bound) duplicate post count so far,if i assume no other deletion happened : other than duplication deletion.
not neccessarily -- when Lucene merges segments (which can happen on any add) deletes get flushed from the segments that get merged. so there may have been duplicates that will be missing from your count. the easiest way to see this is by sending an optimize command -- that should cause maxDocs to always equal numDocs. -Hoss