GET
/
recommend
/
{collection}
/
itemsForItem
{
  "header": {
    "queryParams": {
      "aggrType": "<string>",
      "modelId": "<string>",
      "rows": 123,
      "collection": "<string>",
      "aggrRows": 123,
      "q": "<string>",
      "fq": [
        "<string>"
      ],
      "docId": "<string>",
      "userId": "<string>",
      "debug": false,
      "shinglesLimit": 123,
      "termsLimit": 123,
      "rollupField": "<string>",
      "rollupWeightField": "<string>",
      "rollupWeightStrategy": "sum"
    },
    "totalTime": 123
  },
  "items": [
    {
      "docId": "<string>",
      "weight": 123
    }
  ],
  "debugInfo": {
    "aggrTime": 123,
    "queryTime": 123,
    "solrParams": {}
  }
}

Path Parameters

collection
string
required

The name of a specific collection

Query Parameters

docId
string

The document ID

shinglesLimit
integer
default:20

The maximum number of shingles (nGrams) to use; the shingles will be joined with a boolean OR statement to find the related documents for the named item

termsLimit
integer
default:30

A limit to the number of terms from queries to use in the calculation

aggrRows
integer
default:100

The number of rows per aggregation

rows
integer
default:10

The number of items to return

aggrType
string
default:*

The type of aggregation

Response

200 - application/json

successful operation

The response is of type object.