@Override public Builder indexOptions(IndexOptions indexOptions) { if (indexOptions.compareTo(IndexOptions.DOCS_AND_FREQS) > 0) { throw new IllegalArgumentException("The [keyword] field does not support positions, got [index_options]=" + indexOptionToString(indexOptions)); } return super.indexOptions(indexOptions); }
@Override public Builder indexOptions(IndexOptions indexOptions) { if (indexOptions.compareTo(IndexOptions.DOCS_AND_FREQS) > 0) { throw new IllegalArgumentException("The [keyword] field does not support positions, got [index_options]=" + indexOptionToString(indexOptions)); } return super.indexOptions(indexOptions); }
@Override public Builder indexOptions(IndexOptions indexOptions) { if (indexOptions.compareTo(IndexOptions.DOCS_AND_FREQS) > 0) { throw new IllegalArgumentException("The [keyword] field does not support positions, got [index_options]=" + indexOptionToString(indexOptions)); } return super.indexOptions(indexOptions); }
@Override public Builder indexOptions(IndexOptions indexOptions) { if (indexOptions.compareTo(IndexOptions.DOCS_AND_FREQS) > 0) { throw new IllegalArgumentException("The [keyword] field does not support positions, got [index_options]=" + indexOptionToString(indexOptions)); } return super.indexOptions(indexOptions); }
builder.field("index_options", indexOptionToString(fieldType().indexOptions()));
builder.field("index_options", indexOptionToString(fieldType().indexOptions()));
builder.field("index_options", indexOptionToString(fieldType().indexOptions()));
builder.field("index_options", indexOptionToString(fieldType().indexOptions()));
builder.field("index_options", indexOptionToString(fieldType().indexOptions()));