Hi all,

When I run the following command:

curl "
http://127.0.0.1:8983/solr/techproducts/select?omitHeader=true&wt=json&q=apache&fl=id&mlt=true&mlt.fl=manu%2Ccat&mlt.mintf=1&mlt.mindf=1&mlt.interestingTerms=list
"

… against Solr 8.5 in standalone mode with techproducts, I get
interestingTerms in the output:

{
  "response":{"numFound":2,"start":0,"docs":[
      {
        "id":"UTF8TEST"},
      {
        "id":"SOLR1000"}]
  },
  "interestingTerms":{
    "UTF8TEST":["cat:search",
      "manu:foundation",
      "manu:software",
      "manu:apache",
      "cat:software"],
    "SOLR1000":["cat:search",
      "manu:foundation",
      "manu:software",
      "manu:apache",
      "cat:software",
      "cat:search",
      "manu:foundation",
      "manu:software",
      "manu:apache",
      "cat:software"]},
  "moreLikeThis":{
    "UTF8TEST":{"numFound":1,"start":0,"docs":[
        {
          "id":"SOLR1000"}]
    },
    "SOLR1000":{"numFound":1,"start":0,"docs":[
        {
          "id":"UTF8TEST"}]
    }}}

… against the same version of Solr in SolrCloud mode with techproducts, it
is missing the interestingTerms data:

{
  "response":{"numFound":2,"start":0,"maxScore":0.5722849,"docs":[
      {
        "id":"UTF8TEST"},
      {
        "id":"SOLR1000"}]
  },
  "moreLikeThis":[
    "UTF8TEST",{"numFound":1,"start":0,"maxScore":4.5925217,"docs":[
        {
          "id":"SOLR1000"}]
    },
    "SOLR1000",{"numFound":1,"start":0,"maxScore":4.5925217,"docs":[
        {
          "id":"UTF8TEST"}]
    }]}

Same thing happens with mlt.interestingTerms=details.

Is this a bug or an undocumented limitation?

Kind regards,

Thomas

Reply via email to