This blog I wrote will help. Let us know how it goes. https://lucidworks.com/2017/09/14/solr-payloads/
Erik > On Dec 7, 2018, at 01:31, Midas A <test.mi...@gmail.com> wrote: > > I have a field at my schema named *val_dpf* . I want that *val_dpf* should > have payloaded values. i.e. > > noika|0.46 mobile|0.37 samsung|0.19 redmi|0.22 > > When a user searches for a keyword i.e. nokia I want to add 0.46 to usual > score. If user searches for samsung, 0.19 should be added . > > how can i achieve this .