@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); }
} else if (propName.equals("index_options")) { if (builder.allowsIndexOptions()) { builder.indexOptions(nodeIndexOptionValue(propNode)); } else { DEPRECATION_LOGGER.deprecated(
builder.indexOptions(op); iterator.remove(); } else if (propName.equals("index_options")) { builder.indexOptions(nodeIndexOptionValue(propNode)); iterator.remove(); } else if (propName.equals("include_in_all")) {
iterator.remove(); } else if (propName.equals("index_options")) { builder.indexOptions(nodeIndexOptionValue(propNode)); iterator.remove(); } else if (propName.equals("include_in_all")) {
} else if (propName.equals("index_options")) { if (builder.allowsIndexOptions()) { builder.indexOptions(nodeIndexOptionValue(propNode)); } else { DEPRECATION_LOGGER.deprecated(
} else if (propName.equals("index_options")) { if (builder.allowsIndexOptions()) { builder.indexOptions(nodeIndexOptionValue(propNode)); } else { DEPRECATION_LOGGER.deprecated(
@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); }