GET
/
recommend
/
{collection}
/
itemsForQuery
{
  "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; it must have associated <collectionName_signals> and <collectionName_signals_aggr> collections

Query Parameters

q
string

The Solr query string

rows
integer
default:10

The number of items to return

fq
string[]

A filter query to limit results; if used, the field name must be included along with the value

aggrRows
integer
default:100

The number of rows per aggregation

aggrType
string
default:*

The type of aggregation

debug
boolean
default:false

If true, debug information will be returned with the results

Response

200 - application/json

successful operation

The response is of type object.