Make ModelDebugOutput fields snake case (elastic/elasticsearch#555)
* snake_case model debug output fields * Rename CategorizerState and BucketInfluencer types to snake_case Original commit: elastic/x-pack-elasticsearch@da94dc7ec1
This commit is contained in:
parent
8e14aee978
commit
8d5c8b24d6
|
@ -16,7 +16,7 @@ public class CategorizerState {
|
|||
/**
|
||||
* The type of this class used when persisting the data
|
||||
*/
|
||||
public static final String TYPE = "categorizerState";
|
||||
public static final String TYPE = "categorizer_state";
|
||||
|
||||
private CategorizerState() {
|
||||
}
|
||||
|
|
|
@ -27,7 +27,7 @@ public class BucketInfluencer extends ToXContentToBytes implements Writeable {
|
|||
/**
|
||||
* Result type
|
||||
*/
|
||||
public static final String RESULT_TYPE_VALUE = "bucketInfluencer";
|
||||
public static final String RESULT_TYPE_VALUE = "bucket_influencer";
|
||||
public static final ParseField RESULT_TYPE_FIELD = new ParseField(RESULT_TYPE_VALUE);
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue