You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Christine Poerschke (JIRA)" <ji...@apache.org> on 2017/03/16 14:06:41 UTC

[jira] [Updated] (SOLR-10283) SolrFeature fails to reject searches with missing efi (if used by fq)

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

Christine Poerschke updated SOLR-10283:
---------------------------------------
    Summary: SolrFeature fails to reject searches with missing efi (if used by fq)  (was: SolrFeature fails to reject rq with missing efi (if 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