opensolr_add_documents
Index plain-text documents into a managed Solr index via the Opensolr API. Metadata becomes filterable fields, and documents become searchable within about a minute.
Instructions
Index plain-text documents via the Opensolr Data Ingestion API.
Ingestion is ASYNC: embeddings, sentiment, and all derived fields are
computed server-side and documents become searchable within about a
minute (progress is visible in the Opensolr Control Panel). With
wait=true (default) this blocks until the job completes. Metadata keys
become filterable meta_* fields; metadata "uri" (a real URL) is used as
the document identity — the Solr id is md5(uri). Returns job info and
the resulting Solr document ids.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | No | ||
| wait | No | ||
| index | Yes | ||
| texts | Yes | ||
| metadatas | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |