Solr Composite Unique key from existing fields in schema
问题 I have an index named LocationIndex in solr with fields as follows: <fields> <field name="solr_id" type="string" stored="true" required="true" indexed="true"/> <field name="solr_ver" type="string" stored="true" required="true" indexed="true" default="0000"/> // and some more fields </fields> <uniqueKey>solr_id</uniqueKey> But now I want to change schema so that unique key must be composite of two already present fields solr_id and solr_ver ... something as follows: <fields> <field name="solr