Ravi, It looks like you are re-indexing data by pulling data from your solr server and then indexing it back to the same server. I can think of many things that could go wrong with this setup. For example are all your fields stored? Since you are iterating through all documents on the solr server and at the same time modifying the index, the sort order could change.
To make it easier to identify any bugs in your process, you should index into a second solr server that is *EMPTY* so you can identify any problems. Generally when people re-index data, they dont pull the data from Solr but from system of record such as a DB. -- View this message in context: http://lucene.472066.n3.nabble.com/solr-4-x-reindexing-issues-tp4126695p4126986.html Sent from the Solr - User mailing list archive at Nabble.com.