mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-26 06:46:10 +00:00
parent
8f8cc7205d
commit
55101edb46
@ -72,7 +72,7 @@ public class XContentFactory {
|
||||
* Returns a content builder using YAML format ({@link org.elasticsearch.common.xcontent.XContentType#YAML}.
|
||||
*/
|
||||
public static XContentBuilder yamlBuilder() throws IOException {
|
||||
return contentBuilder(XContentType.SMILE);
|
||||
return contentBuilder(XContentType.YAML);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user