{
"docs": [
{
"id": "<string>",
"fields": [
{
"name": "<string>",
"value": {},
"metadata": {},
"annotations": [
{
"type": "<string>",
"start": 123,
"end": 123,
"features": {},
"label": "<string>",
"featureCount": 123
}
]
}
],
"metadata": {},
"commands": [
{
"name": "<string>",
"params": {}
}
],
"hints": {}
}
],
"stats": {}
}Index a document using an index profile
POST
/
index
/
{id}
{
"docs": [
{
"id": "<string>",
"fields": [
{
"name": "<string>",
"value": {},
"metadata": {},
"annotations": [
{
"type": "<string>",
"start": 123,
"end": 123,
"features": {},
"label": "<string>",
"featureCount": 123
}
]
}
],
"metadata": {},
"commands": [
{
"name": "<string>",
"params": {}
}
],
"hints": {}
}
],
"stats": {}
}Path Parameters
The ID of the index profile to use
Query Parameters
If true, documents are not sent to Solr for indexing; the solr-index stage will be skipped
If true, return the list of documents indexed; otherwise no output is returned when the pipeline has finished
The maximum number of documents to list in the output
Body
application/vnd.lucidworks-documentapplication/vnd.solr-document
A PipelineDocument or Solr XML document
The body is of type any.
Was this page helpful?
⌘I