com.groupbyinc.flux.index.mapper.TokenCountFieldMapper.class Maven / Gradle / Ivy
???? 4 ? 6com/groupbyinc/flux/index/mapper/TokenCountFieldMapper ,com/groupbyinc/flux/index/mapper/FieldMapper TokenCountFieldMapper.java Acom/groupbyinc/flux/index/mapper/TokenCountFieldMapper$TypeParser
TypeParser >com/groupbyinc/flux/index/mapper/TokenCountFieldMapper$Builder Builder ?com/groupbyinc/flux/index/mapper/TokenCountFieldMapper$Defaults Defaults 8com/groupbyinc/flux/index/mapper/FieldMapper$MultiFields MultiFields 3com/groupbyinc/flux/index/mapper/FieldMapper$CopyTo CopyTo 5com/groupbyinc/flux/common/xcontent/ToXContent$Params .com/groupbyinc/flux/common/xcontent/ToXContent Params =com/groupbyinc/flux/index/mapper/NumberFieldMapper$NumberType 2com/groupbyinc/flux/index/mapper/NumberFieldMapper
NumberType CONTENT_TYPE Ljava/lang/String; token_count ! analyzer 2Lcom/groupbyinc/flux/index/analysis/NamedAnalyzer; enablePositionIncrements Z I(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/analysis/NamedAnalyzer;ZLcom/groupbyinc/flux/index/mapper/FieldMapper$MultiFields;Lcom/groupbyinc/flux/index/mapper/FieldMapper$CopyTo;)V(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 ' )
* # $ , % & . this 8Lcom/groupbyinc/flux/index/mapper/TokenCountFieldMapper;
simpleName fieldType 2Lcom/groupbyinc/flux/index/mapper/MappedFieldType; defaultFieldType
indexSettings .Lcom/groupbyinc/flux/common/settings/Settings; multiFields :Lcom/groupbyinc/flux/index/mapper/FieldMapper$MultiFields; copyTo 5Lcom/groupbyinc/flux/index/mapper/FieldMapper$CopyTo; parseCreateField B(Lcom/groupbyinc/flux/index/mapper/ParseContext;Ljava/util/List;)V java/io/IOException > -com/groupbyinc/flux/index/mapper/ParseContext @ externalValueSet ()Z B C
A D
externalValue ()Ljava/lang/Object; F G
A H java/lang/Object J toString ()Ljava/lang/String; L M
K N parser 6()Lcom/groupbyinc/flux/common/xcontent/XContentParser; P Q
A R 2com/groupbyinc/flux/common/xcontent/XContentParser T
textOrNull V M U W java/lang/String Y 4()Lcom/groupbyinc/flux/index/mapper/MappedFieldType; 3 [
\ 0com/groupbyinc/flux/index/mapper/MappedFieldType ^ nullValue ` G
_ a java/lang/Integer c intValue ()I e f
d g name i M
j countPositions d(Lcom/groupbyinc/flux/common/apache/lucene/analysis/Analyzer;Ljava/lang/String;Ljava/lang/String;Z)I l m
n indexOptions ?()Lcom/groupbyinc/flux/common/apache/lucene/index/IndexOptions; p q
_ r ;com/groupbyinc/flux/common/apache/lucene/index/IndexOptions t NONE =Lcom/groupbyinc/flux/common/apache/lucene/index/IndexOptions; v w u x hasDocValues z C
_ { stored } C
_ ~ INTEGER ?Lcom/groupbyinc/flux/index/mapper/NumberFieldMapper$NumberType; ? ? ?
_ j valueOf (I)Ljava/lang/Integer; ? ?
d ? createFields 9(Ljava/lang/String;Ljava/lang/Number;ZZZ)Ljava/util/List; ? ?
? java/util/List ? addAll (Ljava/util/Collection;)Z ? ? ? ? value
tokenCount I context /Lcom/groupbyinc/flux/index/mapper/ParseContext; fields QLjava/util/List; Ljava/util/List; indexed docValued java/lang/Throwable ? :com/groupbyinc/flux/common/apache/lucene/analysis/Analyzer ? tokenStream e(Ljava/lang/String;Ljava/lang/String;)Lcom/groupbyinc/flux/common/apache/lucene/analysis/TokenStream; ? ?
? ? \com/groupbyinc/flux/common/apache/lucene/analysis/tokenattributes/PositionIncrementAttribute ? =com/groupbyinc/flux/common/apache/lucene/analysis/TokenStream ? addAttribute L(Ljava/lang/Class;)Lcom/groupbyinc/flux/common/apache/lucene/util/Attribute; ? ?
? ? reset ()V ? ?
? ? incrementToken ? C
? ? getPositionIncrement ? f ? ? java/lang/Math ? min (II)I ? ?
? ? end ? ?
? ? close ? ?
? ?
addSuppressed (Ljava/lang/Throwable;)V ? ?
? ? count position ^Lcom/groupbyinc/flux/common/apache/lucene/analysis/tokenattributes/PositionIncrementAttribute; ?Lcom/groupbyinc/flux/common/apache/lucene/analysis/TokenStream;