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…
Reference in New Issue