I have no idea what you mean by "different hash", and you haven't provided much information go on here.
What is your evidence that the document is in the index twice? If you're inspecting the index at a low level that's expected, since documents are just marked as deleted not immediately removed from the index. Are you using shards? If so, is it possible that you've indexed documents with the same ID to different shards? Best Erick On Tue, Jan 10, 2012 at 7:20 AM, Hyttinen Lauri <lauri.hytti...@stat.fi> wrote: > Hello, > > I sent some data into the solr/lucene index but when I query > the data I see weird results. > > There are documents with identical id fields but they have different hash > values. > Apart from the hash values the results are the same. > > I thought it was impossible to have documents with same uniqueKey in the > index? > Evidently this is not the case? Could the index be corrupt somehow? > > from schema.xml: > <uniqueKey>id</uniqueKey> > > > Best regards, > Lauri Hyttinen