: > Please does anybody know what configurations i need to have in order for : > Solr to generate the unique key automatically? I am using solr 3.3.0. I have : > the following fieldtype: : > : > <fieldType name="id_uuid" class="solr.UUIDField" indexed="true" : > required="true"/>
For the record: 1) a unique Key field is not required to use most solr features 2) assuming you wanted to use that "id_uuid" field type to automaticly generate a new uniqueKey for each doc added, you would just need to specif a <field/> that used that type, and had a default of "NEW" (which is the special syntax fot the UUIDField to say it should generate a new UUID anytime a document is added w/o one... https://wiki.apache.org/solr/UniqueKey#UUID_techniques -Hoss