fix index xcontent flag with id
This commit is contained in:
parent
9a8d558e51
commit
2655c2aa58
|
@ -324,7 +324,7 @@ public class IdFieldMapper extends AbstractFieldMapper<String> implements Intern
|
|||
builder.field("store", fieldType.stored());
|
||||
}
|
||||
if (fieldType.indexed() != Defaults.FIELD_TYPE.indexed()) {
|
||||
builder.field("index", fieldType.indexed());
|
||||
builder.field("index", indexTokenizeOptionToString(fieldType.indexed(), fieldType.tokenized()));
|
||||
}
|
||||
if (path != Defaults.PATH) {
|
||||
builder.field("path", path);
|
||||
|
|
Loading…
Reference in New Issue