If you mean using DIH? Then you need to have a timestamp column in your DB, which has to be updated to current timestamp, whenever you are modifying the record in DB.
For rest just go through the http://wiki.apache.org/solr/DataImportHandler DIH wiki here Thanx Pravesh -- View this message in context: http://lucene.472066.n3.nabble.com/how-to-retrieve-only-the-updated-data-from-database-using-solr-tp3411622p3411748.html Sent from the Solr - User mailing list archive at Nabble.com.