Created
June 6, 2016 09:26
-
-
Save faridasabry/1ea866baa9c5c5f47619b207fd7bbc77 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ "name": "inTitle", | |
"type": "org.apache.solr.ltr.feature.impl.SolrFeature", | |
"params":{ "q" : "{!field f=title}${user_text}" } | |
}, | |
{ | |
"name": "documentRecency", | |
"type": "org.apache.solr.ltr.feature.impl.SolrFeature", | |
"params": { | |
"q": "{!func}recip( ms(NOW,uploaded_time), 3.16e-11, 1, 1)" | |
} | |
}, | |
{ | |
"name":"originalScore", | |
"type":"org.apache.solr.ltr.feature.impl.OriginalScoreFeature", | |
"params":{} | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment