| { |
| "documentation" : "https://lucene.apache.org/solr/guide/schema-api.html#add-a-new-copy-field-rule", |
| "description": "Adds a new copy field rule, to allow one field to be populated with the contents of one or more other fields.", |
| "type": "object", |
| "properties": { |
| "source": { |
| "type": "string", |
| "description": "The field to copy from." |
| }, |
| "dest": { |
| "type":"array", |
| "items": { |
| "type": "string" |
| }, |
| "description": "A field or an array of fields to which the source field will be copied. A wildcard for a dynamic field can be used, but only if the source field also contains a dynamic field." |
| }, |
| "maxChars": { |
| "type": "integer", |
| "description": "An upper limit for the number of characters to be copied. This would be useful if index size is a concern. If a limit is not specified, the entire field will be copied." |
| } |
| }, |
| "required": [ |
| "source", |
| "dest" |
| ] |
| |
| } |