Remove an unused constant in PutMappingRequest.

This commit is contained in:
Julie Tibshirani 2019-01-18 14:43:50 -08:00
parent c03308a071
commit b4c18a9eb4
1 changed files with 0 additions and 6 deletions

View File

@ -19,7 +19,6 @@
package org.elasticsearch.client.indices;
import com.carrotsearch.hppc.ObjectHashSet;
import org.elasticsearch.ElasticsearchGenerationException;
import org.elasticsearch.action.IndicesRequest;
import org.elasticsearch.action.support.IndicesOptions;
@ -43,11 +42,6 @@ import java.util.Map;
*/
public class PutMappingRequest extends TimedRequest implements IndicesRequest, ToXContentObject {
private static ObjectHashSet<String> RESERVED_FIELDS = ObjectHashSet.from(
"_uid", "_id", "_type", "_source", "_all", "_analyzer", "_parent", "_routing", "_index",
"_size", "_timestamp", "_ttl", "_field_names"
);
private final String[] indices;
private IndicesOptions indicesOptions = IndicesOptions.fromOptions(false, false, true, true);