lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Miller (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SOLR-10283) SolrFeature fails to reject searches with missing efi (if used by fq)
Date Fri, 14 Apr 2017 14:14:41 GMT

     [ https://issues.apache.org/jira/browse/SOLR-10283?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Mark Miller updated SOLR-10283:
-------------------------------
    Fix Version/s:     (was: 6.x)
                   6.5

> SolrFeature fails to reject searches with missing efi (if used by fq)
> ---------------------------------------------------------------------
>
>                 Key: SOLR-10283
>                 URL: https://issues.apache.org/jira/browse/SOLR-10283
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>    Affects Versions: 6.4.1, 6.4.0, 6.4.2
>            Reporter: Christine Poerschke
>            Assignee: Christine Poerschke
>             Fix For: 6.5, master (7.0)
>
>         Attachments: SOLR-10283.patch, SOLR-10283.patch
>
>
> My intention had been to update the Solr Reference Guide's Learning To Rank section w.r.t.
External Feature Information i.e. https://cwiki.apache.org/confluence/display/solr/Learning+To+Rank#LearningToRank-ExternalFeatureInformation
based on the https://lists.apache.org/thread.html/17547c1487067804077b1933ccde28d68841ec1694f6776c5682f28e@%3Csolr-user.lucene.apache.org%3E
user mailing list thread.
> In the process I noticed that configuring a feature such as this
> {code}
> {
>   "store" : "myEfiFeatureStore",
>   "name" : "isPreferredManufacturer",
>   "class" : "org.apache.solr.ltr.feature.SolrFeature",
>   "params" : { "fq" : [ "{!field f=manu}${preferredManufacturer}" ] }
> }
> {code}
> and then _not_ passing {{efi.preferredManufacturer=something}} is _not_ rejected and
instead a score of 1.0 is returned for the feature.
> This seems unexpected i.e. a bug.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message