Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
8.8.2
-
None
-
SolrCloud version: 8.8.2
Description
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 }}
However, the query does work on querying on a specific collection of the alias.