How to set multiple fields as uniqueKey in solr?

前端 未结 1 1061
一向
一向 2020-12-11 19:08

I have these fields in my solr schema :


    

        
相关标签:
1条回答
  • 2020-12-11 19:28

    You cannot use 2 or 3 (or 4) fields in a unique key in the way you are trying to do it. It should point to a single string field. You should be able to generate a concatenated field of the values you want into a single unique string before indexing.

    0 讨论(0)
提交回复
热议问题