builder.startObject("analysis");
if(analysis.analyzers() != null && analysis.analyzers().length > 0){
builder.startObject("analyzer");
for (ElasticSearchAnalyzer analyzer : analysis.analyzers()) {
builder.startObject(analyzer.name());
if(analyzer.tokenizer() != null)
builder.field("tokenizer", analyzer.tokenizer());