parent
7c53d22ce9
commit
1e937fd5d1
|
@ -189,7 +189,7 @@ public class TypeFieldMapper extends AbstractFieldMapper<String> implements Inte
|
||||||
builder.field("store", fieldType.stored());
|
builder.field("store", fieldType.stored());
|
||||||
}
|
}
|
||||||
if (fieldType.indexed() != Defaults.FIELD_TYPE.indexed()) {
|
if (fieldType.indexed() != Defaults.FIELD_TYPE.indexed()) {
|
||||||
builder.field("index", fieldType.indexed());
|
builder.field("index", indexTokenizeOptionToString(fieldType.indexed(), fieldType.tokenized()));
|
||||||
}
|
}
|
||||||
builder.endObject();
|
builder.endObject();
|
||||||
return builder;
|
return builder;
|
||||||
|
|
Loading…
Reference in New Issue