Adding Boost to Score According to Payload of Multivalued Field at Solr

后端 未结 3 891
心在旅途
心在旅途 2021-01-18 23:18

Here is my case;

I have a field at my schema named elmo_field. I want that elmo_field should have payloaded values. i.e.

do         


        
3条回答
  •  萌比男神i
    2021-01-18 23:41

    I've implemented a custom similarity wrapper. For usual things I've used DefaultSimilarity. If a field is a payloaded field another similarity that is implemented by me is used. That similarity class just ignores payload value. I've also implemented a query parser that is a customized version of edismax. With that approach I could add payload value into the document score.

提交回复
热议问题