get-schema
Retrieve field definitions, types, and copy-field relationships for a Solr collection to validate field names and types before running searches.
Instructions
Retrieve schema information for a Solr collection.
Returns field definitions, field types, and copy-field relationships from the Schema API. Call this before search when you need valid field names or types.
Parameters:
collection: Solr collection name
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| collection | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |