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-unsubscr...@solr.apache.org
For additional commands, e-mail: issues-h...@solr.apache.org

Reply via email to