dcsimg

What happens when you IndexWriter.add() a document that is already in the index? Does it show up twice or does it overwrite the previous document?

Otis Gospodnetic

There will be multiple copies of the same document in the index.