Skip to main content
POST
/
index-stages
/
instances
/
{id}
/
{collection}
/
test
Send a test document through an index stage
import requests

url = "http://api/apollo/index-stages/instances/{id}/{collection}/test"

payload = "<any>"
headers = {"Content-Type": "application/vnd.lucidworks-document"}

response = requests.post(url, json=payload, headers=headers)

print(response.text)

Path Parameters

id
string
required

The index stage ID

collection
string
required

The name of the collection

Body

The document to test, as a PipelineDocument or in JSON, Solr XML, or another format

The body is of type any.

Response

200

successful operation