Combining Solr score with externalField value -
i have list of book ratings stored in external file. ratings stored in book_id=rating
format , can query information solr queries.
if want filter search specific keywords , have rating applied matching documents works well:
..?q=my_book_title+and+{!func}book_rating
my problem field boosting doesn't seem work in combination external rating.
let's if want boost book title this:
..?q=my-book-title+and+{!func}book_rating&qf=title^100.0,content^50.0,field(books_rating)^2
it seems score documents based on externalfield
rating. how can make solr include boosting , combine score external rating?
i think can use &bf paramater. https://wiki.apache.org/solr/dismaxqparserplugin#bf_.28boost_functions.29
Comments
Post a Comment