apache - Solr Relevance Results -
i using solr 5.0.0 relevance search in application.
i have fields productname
, category
, brand
, price
, etc.
i searching on productname
field. have 2 categories
laptops
laptop bags
same mobile phones
, mobile phone covers
. have given index time boosting mobiles
, laptops
laptops
when search 'laptops'. when search 'bags', it's showing laptop bag
first laptop
, because name contained laptop bag or without bag.
if give index level boost laptop bags category too, search laptop , give laptop bags first. same thing other things also
how can avoid this?
try see score of products adding debug=true
query.
maybe boost not enough.
Comments
Post a Comment