Configuring Solr to use UUID as a key

后端 未结 2 1998
野的像风
野的像风 2020-12-19 17:18

I am trying to configure Solr 4 to work with UUID and so far I am unsuccessful

From reading the documentation I have seen two different ways to configure schema.xml

2条回答
  •  佛祖请我去吃肉
    2020-12-19 17:25

    After some work here is the solution:

    In schema.xml, add (or edit) the field field

       
    

    In solr config, update the chain and add the chain to the handlers (Example: for /update/extract):

    
      
        id
      
      
    `         
    
    
      
        true
        ignored_
        true
        links
        ignored_
        uuid
      
    
    

提交回复
热议问题