
com.groupbyinc.flux.index.fielddata.plain.PagedBytesIndexFieldData$PagedBytesEstimator.class Maven / Gradle / Ivy
???? 3
Vcom/groupbyinc/flux/index/fielddata/plain/PagedBytesIndexFieldData$PagedBytesEstimator java/lang/Object Rcom/groupbyinc/flux/index/fielddata/plain/AbstractIndexFieldData$PerValueEstimator PagedBytesIndexFieldData.java Bcom/groupbyinc/flux/index/fielddata/plain/PagedBytesIndexFieldData PagedBytesEstimator Vcom/groupbyinc/flux/index/fielddata/plain/PagedBytesIndexFieldData$FilterSettingFields FilterSettingFields @com/groupbyinc/flux/index/fielddata/plain/AbstractIndexFieldData PerValueEstimator 6com/groupbyinc/flux/index/mapper/MappedFieldType$Names 0com/groupbyinc/flux/index/mapper/MappedFieldType Names context BLcom/groupbyinc/flux/common/apache/lucene/index/LeafReaderContext; breaker 3Lcom/groupbyinc/flux/common/breaker/CircuitBreaker; fieldName Ljava/lang/String; estimatedBytes J this$0 DLcom/groupbyinc/flux/index/fielddata/plain/PagedBytesIndexFieldData; ?(Lcom/groupbyinc/flux/index/fielddata/plain/PagedBytesIndexFieldData;Lcom/groupbyinc/flux/common/apache/lucene/index/LeafReaderContext;Lcom/groupbyinc/flux/common/breaker/CircuitBreaker;Ljava/lang/String;)V " ()V $
% ' ) + this XLcom/groupbyinc/flux/index/fielddata/plain/PagedBytesIndexFieldData$PagedBytesEstimator;
bytesPerValue ;(Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;)J 6com/groupbyinc/flux/common/apache/lucene/util/BytesRef 1 length I 3 4 2 5 @?? term 8Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef; bytes estimateStringFieldData ()J java/lang/Exception @ @com/groupbyinc/flux/common/apache/lucene/index/LeafReaderContext B reader =()Lcom/groupbyinc/flux/common/apache/lucene/index/LeafReader; D E
C F
getFieldNames :()Lcom/groupbyinc/flux/index/mapper/MappedFieldType$Names; H I
J indexName ()Ljava/lang/String; L M
N 9com/groupbyinc/flux/common/apache/lucene/index/LeafReader P terms J(Ljava/lang/String;)Lcom/groupbyinc/flux/common/apache/lucene/index/Terms; R S
Q T fields 9()Lcom/groupbyinc/flux/common/apache/lucene/index/Fields; V W
Q X 5com/groupbyinc/flux/common/apache/lucene/index/Fields Z
[ T Ecom/groupbyinc/flux/common/apache/lucene/codecs/blocktree/FieldReader ] getStats C()Lcom/groupbyinc/flux/common/apache/lucene/codecs/blocktree/Stats; _ `
^ a ?com/groupbyinc/flux/common/apache/lucene/codecs/blocktree/Stats c totalTermBytes e d f
access$000 s(Lcom/groupbyinc/flux/index/fielddata/plain/PagedBytesIndexFieldData;)Lcom/groupbyinc/flux/common/logging/ESLogger; h i
j +com/groupbyinc/flux/common/logging/ESLogger l isTraceEnabled ()Z n o m p
access$100 r i
s ?totalTermBytes: {}, terms.size(): {}, terms.getSumDocFreq(): {} u java/lang/Long w valueOf (J)Ljava/lang/Long; y z
x { 4com/groupbyinc/flux/common/apache/lucene/index/Terms } size ?
~ ?
getSumDocFreq ? ?
~ ? trace ((Ljava/lang/String;[Ljava/lang/Object;)V ? ? m ?
access$200 ? i
? "Unable to estimate memory overhead ? warn =(Ljava/lang/String;Ljava/lang/Throwable;[Ljava/lang/Object;)V ? ? m ? stats ALcom/groupbyinc/flux/common/apache/lucene/codecs/blocktree/Stats;
totalBytes ;Lcom/groupbyinc/flux/common/apache/lucene/index/LeafReader; 6Lcom/groupbyinc/flux/common/apache/lucene/index/Terms; 7Lcom/groupbyinc/flux/common/apache/lucene/index/Fields;
fieldTerms e Ljava/lang/Exception;
beforeLoad r(Lcom/groupbyinc/flux/common/apache/lucene/index/Terms;)Lcom/groupbyinc/flux/common/apache/lucene/index/TermsEnum; java/io/IOException ?
fieldDataType 3Lcom/groupbyinc/flux/index/fielddata/FieldDataType; ? ? ? 1com/groupbyinc/flux/index/fielddata/FieldDataType ? getSettings 0()Lcom/groupbyinc/flux/common/settings/Settings; ? ?
? ? #acceptable_transient_overhead_ratio ?? java/lang/Float ? (F)Ljava/lang/Float; y ?
? ? ,com/groupbyinc/flux/common/settings/Settings ?
getAsFloat 6(Ljava/lang/String;Ljava/lang/Float;)Ljava/lang/Float; ? ?
? ?
floatValue ()F ? ?
? ? filter.frequency.min ? java/lang/Double ? (D)Ljava/lang/Double; y ?
? ? getAsDouble 8(Ljava/lang/String;Ljava/lang/Double;)Ljava/lang/Double; ? ?
? ? doubleValue ()D ? ?
? ? filter.frequency.max ? !filter.frequency.min_segment_size ? filter.regex.pattern ? get &(Ljava/lang/String;)Ljava/lang/String; ? ?
? ?
access$300 ? i
?
access$400 ? i
? IFilter exists, can't circuit break normally, using RamAccountingTermsEnum ? :com/groupbyinc/flux/index/fielddata/RamAccountingTermsEnum ? filter ?(Lcom/groupbyinc/flux/common/apache/lucene/index/Terms;Lcom/groupbyinc/flux/common/apache/lucene/index/LeafReader;)Lcom/groupbyinc/flux/common/apache/lucene/index/TermsEnum; ? ?
? ?(Lcom/groupbyinc/flux/common/apache/lucene/index/TermsEnum;Lcom/groupbyinc/flux/common/breaker/CircuitBreaker;Lcom/groupbyinc/flux/index/fielddata/plain/AbstractIndexFieldData$PerValueEstimator;Ljava/lang/String;)V ?
? ? > ?
? ? 1com/groupbyinc/flux/common/breaker/CircuitBreaker ? addEstimateBytesAndMaybeBreak (JLjava/lang/String;)D ? ? ? ? acceptableTransientOverheadRatio F afterLoad >(Lcom/groupbyinc/flux/common/apache/lucene/index/TermsEnum;J)V
getTotalBytes ? ?
? ? addWithoutBreaking (J)J ? ? ? ? termsEnum :Lcom/groupbyinc/flux/common/apache/lucene/index/TermsEnum;
actualUsed adjustForNoTerms (J)V Code LocalVariableTable LineNumberTable
StackMapTable
Exceptions
SourceFile InnerClasses ! ! | *+? #*? &*-? (*,? **? ,? 4 - . ? ? ? ? ? / 0 y +? ?+? 6?A 7aA ? 9o?
aA ? - . ; <