You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Furkan KAMACI <fu...@gmail.com> on 2013/11/27 18:44:17 UTC

Custom Relevancy Using Field Payloads

I have a payload field at my schema (Solr 4.5.1) When a user searches for a
keyword I will calculate the usual score and "if" a match occurs at that
payload field I will add payload to the general score (payload * normalize
coefficient)

How can I do that? Custom payload similarity class or custom function
query?

I've followed here:
http://sujitpal.blogspot.com/2013/07/porting-payloads-to-solr4.html#! but
decodeNormValue if a final method anymore. How about that:
http://www.solrtutorial.com/custom-solr-functionquery.html

Any ideas about my aim?