[
https://issues.apache.org/jira/browse/SOLR-11180?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Christine Poerschke reassigned SOLR-11180:
------------------------------------------
Assignee: Christine Poerschke
> OriginalScoreFeature always returns 0.0 with SolrCloud mode.
> ------------------------------------------------------------
>
> Key: SOLR-11180
> URL: https://issues.apache.org/jira/browse/SOLR-11180
> Project: Solr
> Issue Type: Bug
> Security Level: Public(Default Security Level. Issues are Public)
> Components: contrib - LTR
> Affects Versions: 6.5
> Environment: Repro on SolrCloud mode. Working ok with a standalone
> instance.
> Reporter: Jonathan Gonzalez
> Assignee: Christine Poerschke
> Attachments: how to repro - ltrbug.zip
>
>
> This bug is related to SOLR-11164.
> org.apache.solr.ltr.feature.OriginalScoreFeature is always returning 0.0 when
> configured LTR features are evaluated within a SolrCloud cluster.
> {code}
> {
> "responseHeader": {
> "zkConnected": true,
> "status": 0,
> "QTime": 10,
> "params": {
> "q": "test",
> "fl": "id,score,[features]"
> }
> },
> "response": {
> "numFound": 2,
> "start": 0,
> "maxScore": 1.7527907,
> "docs": [
> {
> "id": "GB18030TEST",
> "[features]": "originalScore=0.0",
> "score": 1.7527907
> },
> {
> "id": "UTF8TEST",
> "[features]": "originalScore=0.0",
> "score": 1.5209608
> }
> ]
> }
> }
> {code}
> Furthermore, is throwing an exception when the query parser is used.
> {code}
> {
> "responseHeader": {
> "zkConnected": true,
> "status": 500,
> "QTime": 18,
> "params": {
> "q": "test",
> "fl": "id,score,[features]",
> "rq": "{!ltr model=model reRankDocs=100}"
> }
> },
> "error": {
> "metadata": [
> "error-class",
>
> "org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException",
> "root-error-class",
>
> "org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException"
> ],
> "msg": "Error from server at
> http://someip:8983/solr/gettingstarted_shard2_replica1: Server
> Error\n\nrequest:
> http://someip:8983/solr/gettingstarted_shard2_replica1/query",
> "trace":
> "org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error
> from server at http://someip:8983/solr/gettingstarted_shard2_replica1: Server
> Error\n\nrequest:
> http://someip:8983/solr/gettingstarted_shard2_replica1/query\r\n\tat
> org.apache.solr.client.solrj.impl.HttpSolrClient.executeMethod(HttpSolrClient.java:610)\r\n\tat
>
> org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:279)\r\n\tat
>
> org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:268)\r\n\tat
>
> org.apache.solr.client.solrj.SolrClient.request(SolrClient.java:1219)\r\n\tat
> org.apache.solr.handler.component.HttpShardHandler.lambda$submit$0(HttpShardHandler.java:163)\r\n\tat
> java.util.concurrent.FutureTask.run(FutureTask.java:266)\r\n\tat
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)\r\n\tat
> java.util.concurrent.FutureTask.run(FutureTask.java:266)\r\n\tat
> com.codahale.metrics.InstrumentedExecutorService$InstrumentedRunnable.run(InstrumentedExecutorService.java:176)\r\n\tat
>
> org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor.lambda$execute$0(ExecutorUtil.java:229)\r\n\tat
>
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)\r\n\tat
>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)\r\n\tat
> java.lang.Thread.run(Thread.java:745)\r\n",
> "code": 500
> }
> }
> {code}
> Attached a file with a sample on how to repro:
> - Use bin\solr -e cloud -Dsolr.ltr.enabled=true to create a sample SolrCloud
> with techproducts.
> - Features file with only OriginalScoreFeature
> - Simple model using that feature.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]