solr-boost

SOLR exact match boost over text containing the exact match

时光毁灭记忆、已成空白 提交于 2019-11-30 03:29:35
I could not find a better title, I hope to change it later if possible upon your eventual sugestions. My problem: I got a database with music artists. These look like this: "dr. dre feat. akon", "eminem & dr. dre", "dr. dre feat. ll cool j", "dr. dre", "dr. dre feat. eminem & skylar grey". We only have two fields: id and name. On a default schema solr core I run this query: "q=dr. dre" and the results are ok but not perfect, looking like this: dr. dre feat. akon eminem & dr. dre dr. dre feat. ll cool j dr. dre ... Note that they got the exact same score. What I want is to have "dr. dre" as a

SOLR exact match boost over text containing the exact match

瘦欲@ 提交于 2019-11-28 23:25:43
问题 I could not find a better title, I hope to change it later if possible upon your eventual sugestions. My problem: I got a database with music artists. These look like this: "dr. dre feat. akon", "eminem & dr. dre", "dr. dre feat. ll cool j", "dr. dre", "dr. dre feat. eminem & skylar grey". We only have two fields: id and name. On a default schema solr core I run this query: "q=dr. dre" and the results are ok but not perfect, looking like this: dr. dre feat. akon eminem & dr. dre dr. dre feat.