Skip to main content
POST
/
query
/
{id}
/
signals
Index response signals
import requests

url = "https://{FUSION HOST}/api/query/{id}/signals"

payload = {}
headers = {
    "Authorization": "Basic <encoded-value>",
    "Content-Type": "application/vnd.lucidworks-document"
}

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

print(response.json())
"<string>"

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 query profile ID.

Query Parameters

pipeline
string
required

An index pipeline to use for processing signals. Note that the index pipeline must end with a Solr Indexer stage, and in this stage the enforce_schema property must be set to 'true'.

commit
boolean
default:true

Whether to commit signals to the collection immediately after indexing.

async
boolean
default:false

Whether to execute the request asynchronously. If true, an autoCommit is issued and failures are not reported.

Body

Response

200 - application/json

OK

The response is of type string.