lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-10283) SolrFeature fails to reject searches with missing efi (if used by fq)
Date Thu, 16 Mar 2017 14:41:41 GMT

    [ https://issues.apache.org/jira/browse/SOLR-10283?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15928184#comment-15928184
] 

ASF subversion and git services commented on SOLR-10283:
--------------------------------------------------------

Commit 17cc3e7dad7eb2f691767fc5a08aac8e6d055bdc in lucene-solr's branch refs/heads/master
from [~cpoerschke]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=17cc3e7 ]

SOLR-10283: Learning to Rank (LTR) SolrFeature to reject searches with missing efi (External
Feature Information) used by fq.


> 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) 
>            Reporter: Christine Poerschke
>            Assignee: Christine Poerschke
>         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