i got a question when i import datas from mysql, however there should be some repeating records from mysql to solr,so i wandered to set another unique field,like these:
<uniqueKey>_id</uniqueKey>
<uniqueKey>title</uniqueKey>
i got a question when i import datas from mysql, however there should be some repeating records from mysql to solr,so i wandered to set another unique field,like these:
<uniqueKey>_id</uniqueKey>
<uniqueKey>title</uniqueKey>
对这个问题, 我没有好的方法, 就是给uniqueKey写上两个值的拼接. 如:
<uniqueKey>_id_title</uniqueKey>
值为:1_测试title
, 另一种方法是利用动态字段 动态字段实例