POST
/
index
/
{id}
/
debug
Index a document (debug)
curl --request POST \
  --url https://{FUSION HOST}/api/index/{id}/debug \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/vnd.lucidworks-document' \
  --data '{}'
{
  "stages": [
    {
      "type": "<string>",
      "id": "<string>",
      "label": "<string>",
      "condition": "<string>",
      "skip": true
    }
  ],
  "output": {},
  "outputEncounteredCount": 123
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

id
string
required

The index profile ID

Query Parameters

simulate
boolean
default:false

Run the pipeline in "simulate" mode for these docs. Stages with "side-effects" are skipped.

echo
boolean
default:true

If true, indexed documents are included in the response.

echoMaxCount
integer
default:-1

The number of documents to include in the response, with -1 implying "all".

bufferDocsForSolr
boolean

If true, the SolrIndexStage buffers docs.

params
object
required

Indexing request parameters.

Body

application/vnd.lucidworks-document · object

Response

200 - application/json

OK

The indexed documents, plus additional details for debugging.