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:
David Kyle 2016-12-15 15:42:38 +00:00 committed by GitHub
parent 8e14aee978
commit 8d5c8b24d6
2 changed files with 2 additions and 2 deletions

View File

@ -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() {
}

View File

@ -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);
/**