No. Solr doesn't require a unique ID nor is an auto incrementing value really useful in indices spanning multiple machines. Maybe SOLR-308 could help you out but then the question remains, why would you need a feature like this?
https://issues.apache.org/jira/browse/SOLR-308 On Friday 27 August 2010 11:41:55 maheshkumar wrote: > Is there feature to provide an auto-increment id to the document which is > getting indexed. > This is the schema file > <field name="reference" type="string" indexed="true" stored="true" > required="true"/> > <field name="id" type="string" indexed="true" stored="true"/> > Markus Jelsma - Technisch Architect - Buyways BV http://www.linkedin.com/in/markus17 050-8536620 / 06-50258350