All Downloads are FREE. Search and download functionalities are using the official Maven repository.

apispec.core.SchemaEdit.addCopyField.json Maven / Gradle / Ivy

There is a newer version: 9.7.0
Show newest version
{
  "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"
  ]

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy