com.groupbyinc.flux.index.mapper.FieldMapper.class Maven / Gradle / Ivy
???? 4 ,com/groupbyinc/flux/index/mapper/FieldMapper 'com/groupbyinc/flux/index/mapper/Mapper java/lang/Cloneable FieldMapper.java .com/groupbyinc/flux/index/mapper/FieldMapper$1 3com/groupbyinc/flux/index/mapper/FieldMapper$CopyTo
CopyTo 8com/groupbyinc/flux/index/mapper/FieldMapper$MultiFields
MultiFields 4com/groupbyinc/flux/index/mapper/FieldMapper$Builder Builder Jcom/groupbyinc/flux/index/mapper/FieldNamesFieldMapper$FieldNamesFieldType 6com/groupbyinc/flux/index/mapper/FieldNamesFieldMapper FieldNamesFieldType 5com/groupbyinc/flux/common/xcontent/ToXContent$Params .com/groupbyinc/flux/common/xcontent/ToXContent Params 4com/groupbyinc/flux/common/settings/Setting$Property +com/groupbyinc/flux/common/settings/Setting Property 6com/groupbyinc/flux/index/mapper/ParseContext$Document " -com/groupbyinc/flux/index/mapper/ParseContext $ Document IGNORE_MALFORMED_SETTING -Lcom/groupbyinc/flux/common/settings/Setting; BLcom/groupbyinc/flux/common/settings/Setting; COERCE_SETTING indexCreatedVersion Lcom/groupbyinc/flux/Version; fieldType 2Lcom/groupbyinc/flux/index/mapper/MappedFieldType; defaultFieldType multiFields :Lcom/groupbyinc/flux/index/mapper/FieldMapper$MultiFields; copyTo 5Lcom/groupbyinc/flux/index/mapper/FieldMapper$CopyTo; $assertionsDisabled Z (Ljava/lang/String;Lcom/groupbyinc/flux/index/mapper/MappedFieldType;Lcom/groupbyinc/flux/index/mapper/MappedFieldType;Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/index/mapper/FieldMapper$MultiFields;Lcom/groupbyinc/flux/index/mapper/FieldMapper$CopyTo;)V (Ljava/lang/String;)V 6 8
9 4 5 ; java/lang/AssertionError = ()V 6 ?
> @ java/lang/String B 0com/groupbyinc/flux/index/mapper/MappedFieldType D ,com/groupbyinc/flux/common/settings/Settings F com/groupbyinc/flux/Version H indexCreated M(Lcom/groupbyinc/flux/common/settings/Settings;)Lcom/groupbyinc/flux/Version; J K
I L + , N
V_5_0_0_beta1 P , I Q onOrAfter (Lcom/groupbyinc/flux/Version;)Z S T
I U isEmpty ()Z W X
C Y "java/lang/IllegalArgumentException [ name cannot be empty string ]
\ 9 freeze ` ?
E a - . c / . e 0 1 g java/util/Objects i requireNonNull &(Ljava/lang/Object;)Ljava/lang/Object; k l
j m 2 3 o this .Lcom/groupbyinc/flux/index/mapper/FieldMapper;
simpleName Ljava/lang/String;
indexSettings .Lcom/groupbyinc/flux/common/settings/Settings; name ()Ljava/lang/String; 4()Lcom/groupbyinc/flux/index/mapper/MappedFieldType; - y
z w x
E | typeName ~ x
E 7()Lcom/groupbyinc/flux/index/mapper/FieldMapper$CopyTo; parse Z(Lcom/groupbyinc/flux/index/mapper/ParseContext;)Lcom/groupbyinc/flux/index/mapper/Mapper; java/io/IOException ? java/lang/Exception ? java/util/ArrayList ? (I)V 6 ?
? ? parseCreateField B(Lcom/groupbyinc/flux/index/mapper/ParseContext;Ljava/util/List;)V ? ?
? java/util/List ? iterator ()Ljava/util/Iterator; ? ? ? ? java/util/Iterator ? hasNext ? X ? ? next ()Ljava/lang/Object; ? ? ? ? =com/groupbyinc/flux/common/apache/lucene/index/IndexableField ? doc :()Lcom/groupbyinc/flux/index/mapper/ParseContext$Document; ? ?
% ? add B(Lcom/groupbyinc/flux/common/apache/lucene/index/IndexableField;)V ? ?
# ? 7com/groupbyinc/flux/index/mapper/MapperParsingException ? java/lang/StringBuilder ?
? @ failed to parse [ ? append -(Ljava/lang/String;)Ljava/lang/StringBuilder; ? ?
? ? ] ? toString ? x
? ? *(Ljava/lang/String;Ljava/lang/Throwable;)V 6 ?
? ? `(Lcom/groupbyinc/flux/index/mapper/FieldMapper;Lcom/groupbyinc/flux/index/mapper/ParseContext;)V ? ?
? field ?Lcom/groupbyinc/flux/common/apache/lucene/index/IndexableField; e Ljava/lang/Exception; context /Lcom/groupbyinc/flux/index/mapper/ParseContext; fields QLjava/util/List; Ljava/util/List; createFieldNamesField docMapper 3()Lcom/groupbyinc/flux/index/mapper/DocumentMapper; ? ?
% ? /com/groupbyinc/flux/index/mapper/DocumentMapper ? metadataMapper I(Ljava/lang/Class;)Lcom/groupbyinc/flux/index/mapper/MetadataFieldMapper; ? ?
? ? N()Lcom/groupbyinc/flux/index/mapper/FieldNamesFieldMapper$FieldNamesFieldType; - ?
? isEnabled ? X
? extractFieldNames ((Ljava/lang/String;)Ljava/lang/Iterable; ? ?
? java/lang/Iterable ? ? ? 7com/groupbyinc/flux/common/apache/lucene/document/Field ? _field_names ? j(Ljava/lang/String;Ljava/lang/String;Lcom/groupbyinc/flux/common/apache/lucene/index/IndexableFieldType;)V 6 ?
? ? (Ljava/lang/Object;)Z ? ? ? ? fieldName fieldNamesFieldType LLcom/groupbyinc/flux/index/mapper/FieldNamesFieldMapper$FieldNamesFieldType;
? clone 0()Lcom/groupbyinc/flux/index/mapper/FieldMapper; $java/lang/CloneNotSupportedException ? java/lang/Object ? ? ?
? ? (Ljava/lang/Object;)V 6 ?
> ? &Ljava/lang/CloneNotSupportedException; merge Z(Lcom/groupbyinc/flux/index/mapper/Mapper;Z)Lcom/groupbyinc/flux/index/mapper/FieldMapper; ? ?
? doMerge -(Lcom/groupbyinc/flux/index/mapper/Mapper;Z)V ?
mergeWith )Lcom/groupbyinc/flux/index/mapper/Mapper; updateAllTypes merged getClass ()Ljava/lang/Class;
? equals ?
? java/lang/Class
getSimpleName x
contentType x
mapper [ #] of different type, current_type [ ], merged_type [ v(Lcom/groupbyinc/flux/index/mapper/FieldMapper$MultiFields;)Lcom/groupbyinc/flux/index/mapper/FieldMapper$MultiFields; ?
mergedType fieldMergeWith updateFieldType ?(Ljava/util/Map;)Lcom/groupbyinc/flux/index/mapper/FieldMapper;
java/util/Map# get% l$& java/lang/IllegalStateException( Mixing up field types: * -(Ljava/lang/Object;)Ljava/lang/StringBuilder; ?,
?- != /
on field 1
) 9 K(Ljava/util/Map;)Lcom/groupbyinc/flux/index/mapper/FieldMapper$MultiFields;!4
5 fullNameToFieldType ULjava/util/Map; Ljava/util/Map; newFieldType updatedMultiFields updated
toXContent ?(Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; s x
? 3com/groupbyinc/flux/common/xcontent/XContentBuilderA startObject I(Ljava/lang/String;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;CD
BE include_defaultsG paramAsBoolean (Ljava/lang/String;Z)ZIJ K doXContentBody p(Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;ZLcom/groupbyinc/flux/common/xcontent/ToXContent$Params;)VMN
O endObject 7()Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;QR
BS builder 5Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; params 7Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params; includeDefaults typeZ [(Ljava/lang/String;Ljava/lang/String;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; ?\
B] boost ()F_`
Ea_ J(Ljava/lang/String;F)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; ?d
Be indexOptions ?()Lcom/groupbyinc/flux/common/apache/lucene/index/IndexOptions;gh
Ei ;com/groupbyinc/flux/common/apache/lucene/index/IndexOptionsk NONE =Lcom/groupbyinc/flux/common/apache/lucene/index/IndexOptions;mn lo indexq J(Ljava/lang/String;Z)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; ?s
Bt storedv X
Ew storey doXContentDocValues 9(Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;Z)V{|
} storeTermVectors X
E? term_vector? termVectorOptionsToString Q(Lcom/groupbyinc/flux/common/apache/lucene/document/FieldType;)Ljava/lang/String;??
? omitNorms? X
E? norms?
index_options? indexOptionToString Q(Lcom/groupbyinc/flux/common/apache/lucene/index/IndexOptions;)Ljava/lang/String;??
? eagerGlobalOrdinals? X
E? eager_global_ordinals?
similarity ;()Lcom/groupbyinc/flux/index/similarity/SimilarityProvider;??
E?? 7com/groupbyinc/flux/index/similarity/SimilarityProvider?
? | BM25?=>
?
? indexed defaultIndexed doXContentAnalyzers tokenized? X
E?
indexAnalyzer 4()Lcom/groupbyinc/flux/index/analysis/NamedAnalyzer;??
E? analyzer? default? 0com/groupbyinc/flux/index/analysis/NamedAnalyzer?
? |
C searchAnalyzer??
E? searchQuoteAnalyzer??
E? search_analyzer? search_quote_analyzer? hasDefaultIndexAnalyzer hasDifferentSearchAnalyzer hasDifferentSearchQuoteAnalyzer hasDocValues? X
E?
doc_values? /$SwitchMap$org$apache$lucene$index$IndexOptions [I?? ? ordinal ()I??
l? offsets? freqs? positions? docs? Unknown IndexOptions [? indexOption ;com/groupbyinc/flux/common/apache/lucene/document/FieldType?
?? no? storeTermVectorOffsets? X
?? storeTermVectorPositions? X
?? yes? with_offsets? with?
? 9
_positions? _offsets? storeTermVectorPayloads? X
?? _payloads? Ljava/lang/StringBuilder; =Lcom/groupbyinc/flux/common/apache/lucene/document/FieldType; :(Ljava/util/Map;)Lcom/groupbyinc/flux/index/mapper/Mapper;!"
? U(Lcom/groupbyinc/flux/index/mapper/Mapper;Z)Lcom/groupbyinc/flux/index/mapper/Mapper; ? ?
? desiredAssertionStatus X
index.mapping.ignore_malformed
IndexScope 6Lcom/groupbyinc/flux/common/settings/Setting$Property; boolSetting y(Ljava/lang/String;Z[Lcom/groupbyinc/flux/common/settings/Setting$Property;)Lcom/groupbyinc/flux/common/settings/Setting;
' (
index.mapping.coerce * ( Signature Code LocalVariableTable LineNumberTable
StackMapTable LocalVariableTypeTable
Exceptions ?(Lcom/groupbyinc/flux/index/mapper/ParseContext;Ljava/util/List;)V A()Ljava/util/Iterator; ?(Ljava/util/Map;)Lcom/groupbyinc/flux/index/mapper/FieldMapper;
SourceFile InnerClasses! ' ( ) * ( ) + , - . / . 0 1 2 3 4 5 6 7 d*+? :?