All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.groupbyinc.flux.index.mapper.CompletionFieldMapper.class Maven / Gradle / Ivy

There is a newer version: 198
Show newest version
????4:6com/groupbyinc/flux/index/mapper/CompletionFieldMapper,com/groupbyinc/flux/index/mapper/FieldMapper7com/groupbyinc/flux/index/mapper/ArrayValueMapperParserCompletionFieldMapper.javaNcom/groupbyinc/flux/index/mapper/CompletionFieldMapper$CompletionInputMetaDataCompletionInputMetaData>com/groupbyinc/flux/index/mapper/CompletionFieldMapper$BuilderBuilderJcom/groupbyinc/flux/index/mapper/CompletionFieldMapper$CompletionFieldTypeCompletionFieldTypeAcom/groupbyinc/flux/index/mapper/CompletionFieldMapper$TypeParser
TypeParser=com/groupbyinc/flux/index/mapper/CompletionFieldMapper$FieldsFields?com/groupbyinc/flux/index/mapper/CompletionFieldMapper$DefaultsDefaults8com/groupbyinc/flux/index/mapper/FieldMapper$MultiFieldsMultiFields3com/groupbyinc/flux/index/mapper/FieldMapper$CopyToCopyTojava/util/Map$Entry 
java/util/Map"Entry8com/groupbyinc/flux/common/xcontent/XContentParser$Token%2com/groupbyinc/flux/common/xcontent/XContentParser'Token=com/groupbyinc/flux/common/xcontent/XContentParser$NumberType*
NumberType5com/groupbyinc/flux/common/xcontent/ToXContent$Params-.com/groupbyinc/flux/common/xcontent/ToXContent/Params6com/groupbyinc/flux/index/mapper/ParseContext$Document2-com/groupbyinc/flux/index/mapper/ParseContext4DocumentCONTENT_TYPELjava/lang/String;
completion9ALLOWED_CONTENT_FIELD_NAMESLjava/util/Set;#Ljava/util/Set;maxInputLengthI$assertionsDisabledZ?(Ljava/lang/String;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;I)V
FIELD_TYPE2Lcom/groupbyinc/flux/index/mapper/MappedFieldType;DE	F(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BH
I>?	Kthis8Lcom/groupbyinc/flux/index/mapper/CompletionFieldMapper;
simpleName	fieldType
indexSettings.Lcom/groupbyinc/flux/common/settings/Settings;multiFields:Lcom/groupbyinc/flux/index/mapper/FieldMapper$MultiFields;copyTo5Lcom/groupbyinc/flux/index/mapper/FieldMapper$CopyTo;N()Lcom/groupbyinc/flux/index/mapper/CompletionFieldMapper$CompletionFieldType;4()Lcom/groupbyinc/flux/index/mapper/MappedFieldType;PX
YparseZ(Lcom/groupbyinc/flux/index/mapper/ParseContext;)Lcom/groupbyinc/flux/index/mapper/Mapper;java/io/IOException]parser6()Lcom/groupbyinc/flux/common/xcontent/XContentParser;_`
5acurrentToken<()Lcom/groupbyinc/flux/common/xcontent/XContentParser$Token;cd(ejava/util/HashMapg(I)VBi
hj
VALUE_NULL:Lcom/groupbyinc/flux/common/xcontent/XContentParser$Token;lm	&n7com/groupbyinc/flux/index/mapper/MapperParsingExceptionpjava/lang/StringBuilderr()VBt
sucompletion field [wappend-(Ljava/lang/String;)Ljava/lang/StringBuilder;yz
s{PW
}name()Ljava/lang/String;?
?] does not support null values?toString??
s?(Ljava/lang/String;)VB?
q?START_ARRAY?m	&?	nextToken?d(?	END_ARRAY?m	&??(Lcom/groupbyinc/flux/index/mapper/ParseContext;Lcom/groupbyinc/flux/common/xcontent/XContentParser$Token;Lcom/groupbyinc/flux/common/xcontent/XContentParser;Ljava/util/Map;)V[?
?entrySet()Ljava/util/Set;??#?
java/util/Set?iterator()Ljava/util/Iterator;????java/util/Iterator?hasNext()Z????next()Ljava/lang/Object;????getKey??!?java/lang/String?trim??
??isEmpty??
??PE	?0com/groupbyinc/flux/index/mapper/MappedFieldType?
??addIgnoredField??
5?length()I??
??java/lang/Math?min(II)I??
??charAt(I)C??
??java/lang/Character?isHighSurrogate(C)Z??
??@A	?isLowSurrogate??
??java/lang/AssertionError?
?u	substring(II)Ljava/lang/String;??
??getValue??!?hasContextMappings??
?getContextMappingsI()Lcom/groupbyinc/flux/search/suggest/completion/context/ContextMappings;??
?doc:()Lcom/groupbyinc/flux/index/mapper/ParseContext$Document;??
5?weight??		?contextsLjava/util/Map;??		?Ecom/groupbyinc/flux/search/suggest/completion/context/ContextMappings?addFieldo(Lcom/groupbyinc/flux/index/mapper/ParseContext$Document;Ljava/lang/String;Ljava/lang/String;ILjava/util/Map;)V??
??Mcom/groupbyinc/flux/common/apache/lucene/search/suggest/document/SuggestField?((Ljava/lang/String;Ljava/lang/String;I)VB?
??addB(Lcom/groupbyinc/flux/common/apache/lucene/index/IndexableField;)V??
3java/util/ArrayList
jcreateFieldNamesFieldB(Lcom/groupbyinc/flux/index/mapper/ParseContext;Ljava/util/List;)V
java/util/List	
?=com/groupbyinc/flux/common/apache/lucene/index/IndexableFieldST	`(Lcom/groupbyinc/flux/index/mapper/FieldMapper;Lcom/groupbyinc/flux/index/mapper/ParseContext;)V[
leninputmetaDataPLcom/groupbyinc/flux/index/mapper/CompletionFieldMapper$CompletionInputMetaData;completionInputyLjava/util/Map$Entry;Ljava/util/Map$Entry;field?Lcom/groupbyinc/flux/common/apache/lucene/index/IndexableField;context/Lcom/groupbyinc/flux/index/mapper/ParseContext;4Lcom/groupbyinc/flux/common/xcontent/XContentParser;tokeninputMapsLjava/util/Map;fieldsQLjava/util/List;Ljava/util/List;java/lang/NumberFormatException%VALUE_STRING'm	&(text*?(+java/util/Collections-emptyMap()Ljava/util/Map;/0
.1(Ljava/util/Map;I)VB3
	4put8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;67#8START_OBJECT:m	&;java/util/HashSet=
>u
hu
END_OBJECTAm	&B
FIELD_NAMEDm	&EcurrentNameG?(H;<	Jcontains(Ljava/lang/Object;)ZLM?N"java/lang/IllegalArgumentExceptionPunknown field name [R], must be one of T-(Ljava/lang/Object;)Ljava/lang/StringBuilder;yV
sW
Q?equals[M
?\?M?^.input array must have string values, but was [`
&?]c*input must be a string or array, but was [e?java/lang/Longh	parseLong(Ljava/lang/String;)Jjk
ilvalueOf(J)Ljava/lang/Long;no
ip$weight must be an integer, but was [rVALUE_NUMBERtm	&u
numberTypeA()Lcom/groupbyinc/flux/common/xcontent/XContentParser$NumberType;wx(yLONG?Lcom/groupbyinc/flux/common/xcontent/XContentParser$NumberType;{|	+}INT|	+?numberValue()Ljava/lang/Number;??(?,weight must be a number or string, but was [?java/lang/Number?	longValue()J??
?????9weight must be in the interval [0..2147483647], but was [?(J)Ljava/lang/StringBuilder;y?
s?intValue??
???,contexts field is not supported for field: [?Dcom/groupbyinc/flux/search/suggest/completion/context/ContextMapping?getZ(Ljava/lang/String;)Lcom/groupbyinc/flux/search/suggest/completion/context/ContextMapping;??
??containsKey?M#?parseContextt(Lcom/groupbyinc/flux/index/mapper/ParseContext;Lcom/groupbyinc/flux/common/xcontent/XContentParser;)Ljava/util/Set;??
??2contexts must be an object or an array , but was [?&(Ljava/lang/Object;)Ljava/lang/Object;??#?+com/groupbyinc/flux/common/ParsingException?getTokenLocation8()Lcom/groupbyinc/flux/common/xcontent/XContentLocation;??(?failed to parse [?$]: expected text or object, but got ?java/lang/Object?^(Lcom/groupbyinc/flux/common/xcontent/XContentLocation;Ljava/lang/String;[Ljava/lang/Object;)VB?
??weightValueLjava/lang/Number;e!Ljava/lang/NumberFormatException;contextMappingFLcom/groupbyinc/flux/search/suggest/completion/context/ContextMapping;	fieldNamecontextMappingsGLcom/groupbyinc/flux/search/suggest/completion/context/ContextMappings;inputscontextsMapLLjava/util/Map;>;currentFieldName
toXContent?(Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;O?
?3com/groupbyinc/flux/common/xcontent/XContentBuilder?startObjectI(Ljava/lang/String;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;??
??TYPE'Lcom/groupbyinc/flux/common/ParseField;??	?%com/groupbyinc/flux/common/ParseField?getPreferredName??
??[(Ljava/lang/String;Ljava/lang/String;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;?
??ANALYZER??	?
indexAnalyzer4()Lcom/groupbyinc/flux/index/analysis/NamedAnalyzer;??
?0com/groupbyinc/flux/index/analysis/NamedAnalyzer?
??searchAnalyzer??
?SEARCH_ANALYZER??	?PRESERVE_SEPARATORS??	?preserveSep??
?J(Ljava/lang/String;Z)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;?
??PRESERVE_POSITION_INCREMENTS??	?preservePositionIncrements??
?MAX_INPUT_LENGTH??	?J(Ljava/lang/String;I)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;
?CONTEXTS?	
startArray?
???
?
endArray7()Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;
?

	endObject
?builder5Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;params7Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params;parseCreateFieldcontentTypedoMerge-(Lcom/groupbyinc/flux/index/mapper/Mapper;Z)V
	mergeWith)Lcom/groupbyinc/flux/index/mapper/Mapper;updateAllTypesfieldMergeWithjava/lang/Class#desiredAssertionStatus%?
$&(com/groupbyinc/flux/common/util/set/Sets(
newHashSet(([Ljava/lang/Object;)Ljava/util/HashSet;*+
),
ConstantValue	SignatureCodeLocalVariableTableLineNumberTableLocalVariableTypeTable
StackMapTable
Exceptions(Lcom/groupbyinc/flux/index/mapper/ParseContext;Lcom/groupbyinc/flux/common/xcontent/XContentParser$Token;Lcom/groupbyinc/flux/common/xcontent/XContentParser;Ljava/util/Map;)V?(Lcom/groupbyinc/flux/index/mapper/ParseContext;Ljava/util/List;)V
SourceFileInnerClasses!78.:;</=>?@A
BC0?*+,?G-?J*?L?1HMNO8PEQRSTUV>?2???PW02*?Z??1MN2?[\0*	?+?bM,?fN?hY?k:-?o?)?qY?sY?vx?|*?~???|??|?????-???,??YN???*+-,?????*+-,??????:???????!:????:?????+*???????????*?L?T*?L????6d?˸љ-?Ӛ$??`??˸֚??Y?ٿ???:???	:*?~??'*?~??+??*?~????????+???Y*?~?????????Y?:*+??:??????
:+??????*?*+??1p?C???8J???	?MN??_?m? ?v="$3 ??? !v="#2? ?????C?J?X?d?m??????????????????	???)?M?i?l?v?}?????????4A?C(&#?
??:!??G?	?9	???
??!5^[?0`
?:,?)?-?,?	Y?2?5?9W??,?Y??:6?hY?@:-??YM?C??,?F?A-?I:?K?O??ٻQY?sY?vS?|?|U?|?K?X???Y????Z?]??,?)?-?,?_W???,???N-??YM????s,?)?-?,?_W??ݻQY?sY?va?|,?b?|d?|???Y??QY?sY?vf?|,?b?|d?|???Y?g?]?,?)?=-?,?m?q:	??:
?QY?sY?vs?|-?,?|d?|???Y?,?v?M-?z:
?~
?2??
?*?QY?sY?vs?|-???Xd?|???Y?-??:	?(?QY?sY?v??|,?b?|d?|???Y?	??	??	?????)?QY?sY?v??|	????d?|???Y?	??6??	??]???*?~??+?QY?sY?v??|*?~???|d?|???Y?*?~??:	-?f:

?




© 2015 - 2024 Weber Informatics LLC | Privacy Policy