I am working solr environment which is running on 3.x. Now I am migrating it to solr 4.7
I have done all the required changes but need a work around or a solution for one.
In schema.xml I have copyField,
<copyField source="startIpNum" dest="startIp"/>
<uniqueKey>startIp</uniqueKey>
<defaultSearchField>locId</defaultSearchField>
<solrQueryParser defaultOperator="AND"/>
The field's are defined like below.
<field name="startIp" type="string" indexed="true" stored="false" required="true"/>
<field name="startIpNum" type="tlong" indexed="true" stored="false" required="true"/>
I get the below exception after starting the solr env.
org.apache.solr.common.SolrException:org.apache.solr.common.SolrException: uniqueKey field (startIp) can not be the dest of a copyField(source=startIpNum). Schema file is /qv/tst/solr/qvprlsolrextB/solr/geo/schema.xml.
Other than this all other stuff are in place. I have totally 14 cores, all of them working other than this one which use copyField. Is this deprecated in 4.7?
Any information is helpful.
Thanks SR