A few days ago I got a question regarding the automatic identifiers of documents in Solr 3.x and 4.x, version , because the method from Solr 3 was deprecated. Because of that we decided to write a quick post about how to use Solr to generate documents unique identifier in Solr 4.x.
schema.xml
schema.xml