You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Nahian-Al Hasan (Jira)" <ji...@apache.org> on 2021/09/02 05:52:00 UTC

[jira] [Created] (SOLR-15615) SolrCloud MLT does not work with Time Routed Alias (TRA)

Nahian-Al Hasan created SOLR-15615:
--------------------------------------

             Summary: SolrCloud MLT does not work with Time Routed Alias (TRA)
                 Key: SOLR-15615
                 URL: https://issues.apache.org/jira/browse/SOLR-15615
             Project: Solr
          Issue Type: Bug
      Security Level: Public (Default Security Level. Issues are Public)
          Components: MoreLikeThis, SolrCloud
    Affects Versions: 8.8.2
         Environment: SolrCloud version: 8.8.2
            Reporter: Nahian-Al Hasan


Only the MLT Query Parser works in SolrCloud, otherwise the results returned are indeterministic (depends on which local shard is hit). However, even with the QueryParser, MLT throws errors when querying on an Alias. For instance, I have a unique document like so in a Time Routed Alias:
{
        "id":"Bm5bN3KvVitKw5bCcWWCq",
        "_version_":1709049415169212416
}
If the MLT Query Parser request with that id, the following error is thrown:
{
  "responseHeader":\{
    "zkConnected":true,
    "status":400,
    "QTime":9,
    "params":{
      "q":"{!mlt qf=name mintf=2 mindf=3}Bm5bN3KvVitKw5bCcWWCq",
      "_":"1630550643544"}},
  "error":\{
    "metadata":[
      "error-class","org.apache.solr.common.SolrException",
      "root-error-class","org.apache.solr.common.SolrException"],
    "msg":"Error completing MLT request. Could not fetch document with id [Bm5bN3KvVitKw5bCcWWCq]",
    "code":400}}
 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org