lucene - How to calculate score of a doc in solr? -


i have solr core named search stats fields

query search_count number_of_clicks added_to_cart order_placed 

i want scoring function can boost docs according data.

this data want use showing suggestions. have used sort function. suggest me boost function other sorting.

you can specify same in solr want retrieve score of every document using q=colour plus&fl=*,score

read more on in below link

http://wiki.apache.org/solr/solrrelevancyfaq#how_can_i_see_the_relevancy_scores_for_search_results

lucene/solr, provides tf-idf (vsm based) scoring strategy.

the below link highlights more tf , other terms

http://www.solrtutorial.com/solr-search-relevancy.html


Comments

Popular posts from this blog

searchKeyword not working in AngularJS filter -

sequelize.js - Sequelize: sort by enum cases -

user interface - how to replace an ongoing process of image capture from another process call over the same ImageLabel in python's GUI TKinter -