Phrase query as feature in LTR not working

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Phrase query as feature in LTR not working

Phrase query is not working when applied in LTR.

Feature supplied is
    "name" : "isPook",
    "class" : "org.apache.solr.ltr.feature.SolrFeature",
    "params" : {
      "fq": ["{!type=edismax qf=text v=$qq}&qq=\"${query}\""]

Tested this feature outside and it returns only one result ,i.e phrase but
with LTR it is matching on terms


        "name":"A Thrones of Game",
        "name":"A Game of meeting Thrones",

How to set the feature so that it score only the first document containing
the phrase

Sent from: