BytesReference function ( ) { return buildAsBytes ( defaultType ) ; }
returns a org.elasticsearch.common.bytes.bytesreference containing the toxcontent output in binary format.builds the request based on the default xcontenttype , either requests #content_type or provided as a constructor argument concode_field_sep XContentType defaultType concode_field_sep String toString