lucene-dev mailing list archives

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

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

Christine Poerschke resolved SOLR-10283.
----------------------------------------
    Resolution: Fixed

> 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, 6.4.1, 6.4.2
>            Reporter: Christine Poerschke
>            Assignee: Christine Poerschke
>             Fix For: master (7.0), 6.5
>
>         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