The classification configuration is used to configure the classification analysis. It uses the structure below.

classificationType

The type of classification. This value is used as the field name inside the analyticsClassification object.

analyticsClassificationQuery

The query to match the documents to.

analyticsClassificationResult

The result value of the classification.

{
    "classificationType" : [
         {
             "analyticsClassificationQuery" : {
                // query
              },
              "analyticsClassificationResult" : "resultValue"
        },
    ]
}

`

You can add additional classifications by adding another type. It is also possible to extend an existing type by adding additional queries.

For more details on classification and how it can be used, have a look here.