
com.groupbyinc.flux.search.lookup.IndexFieldTerm.class Maven / Gradle / Ivy
???? 3? 0com/groupbyinc/flux/search/lookup/IndexFieldTerm XLjava/lang/Object;Ljava/lang/Iterable; java/lang/Object java/lang/Iterable IndexFieldTerm.java 2com/groupbyinc/flux/search/lookup/IndexFieldTerm$2 2com/groupbyinc/flux/search/lookup/IndexFieldTerm$1 postings =Lcom/groupbyinc/flux/common/apache/lucene/index/PostingsEnum; flags I fieldName Ljava/lang/String; term iterator 4Lcom/groupbyinc/flux/search/lookup/PositionIterator;
identifier 5Lcom/groupbyinc/flux/common/apache/lucene/index/Term; termStats @Lcom/groupbyinc/flux/common/apache/lucene/search/TermStatistics; freq $assertionsDisabled Z df ()J java/io/IOException ! >com/groupbyinc/flux/common/apache/lucene/search/TermStatistics # docFreq %
$ & this 2Lcom/groupbyinc/flux/search/lookup/IndexFieldTerm; ttf
totalTermFreq +
$ , setReader >(Lcom/groupbyinc/flux/common/apache/lucene/index/LeafReader;)V 0 convertToLuceneFlags (I)I 2 3
4 getPostings {(ILcom/groupbyinc/flux/common/apache/lucene/index/LeafReader;)Lcom/groupbyinc/flux/common/apache/lucene/index/PostingsEnum; 6 7
8
: @com/groupbyinc/flux/common/apache/lucene/search/DocIdSetIterator < empty D()Lcom/groupbyinc/flux/common/apache/lucene/search/DocIdSetIterator; > ?
= @ w(Lcom/groupbyinc/flux/search/lookup/IndexFieldTerm;Lcom/groupbyinc/flux/common/apache/lucene/search/DocIdSetIterator;)V B C
D *com/groupbyinc/flux/ElasticsearchException F java/lang/StringBuilder H ()V B J
I K !Unable to get postings for field M append -(Ljava/lang/String;)Ljava/lang/StringBuilder; O P
I Q S
and term U W toString ()Ljava/lang/String; Y Z
I [ =(Ljava/lang/String;Ljava/lang/Throwable;[Ljava/lang/Object;)V B ]
G ^ BLcom/groupbyinc/flux/common/apache/lucene/search/DocIdSetIterator; e Ljava/io/IOException; reader ;Lcom/groupbyinc/flux/common/apache/lucene/index/LeafReader; lucenePositionsFlags f h 3com/groupbyinc/flux/common/apache/lucene/index/Term j field l Z
k m java/lang/AssertionError o
p K bytes :()Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef; r s
k t 9com/groupbyinc/flux/common/apache/lucene/index/LeafReader v fields 9()Lcom/groupbyinc/flux/common/apache/lucene/index/Fields; x y
w z 5com/groupbyinc/flux/common/apache/lucene/index/Fields | terms J(Ljava/lang/String;)Lcom/groupbyinc/flux/common/apache/lucene/index/Terms; ~
} ? 4com/groupbyinc/flux/common/apache/lucene/index/Terms ? <()Lcom/groupbyinc/flux/common/apache/lucene/index/TermsEnum; ?
? ? 8com/groupbyinc/flux/common/apache/lucene/index/TermsEnum ? seekExact ;(Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;)Z ? ?
? ? }(Lcom/groupbyinc/flux/common/apache/lucene/index/PostingsEnum;I)Lcom/groupbyinc/flux/common/apache/lucene/index/PostingsEnum;
?
? ? getLiveDocs 6()Lcom/groupbyinc/flux/common/apache/lucene/util/Bits; ? ?
w ? ?(Lcom/groupbyinc/flux/search/lookup/IndexFieldTerm;Lcom/groupbyinc/flux/common/apache/lucene/index/PostingsEnum;Lcom/groupbyinc/flux/common/apache/lucene/util/Bits;)V B ?
? ;com/groupbyinc/flux/common/apache/lucene/index/PostingsEnum ? liveDocs 4Lcom/groupbyinc/flux/common/apache/lucene/util/Bits; termsEnum :Lcom/groupbyinc/flux/common/apache/lucene/index/TermsEnum; 6Lcom/groupbyinc/flux/common/apache/lucene/index/Terms; luceneFlags 7Lcom/groupbyinc/flux/common/apache/lucene/index/Fields; newPostings setDocument (I)V docID ()I ? ?
? ? advance ? 3
? ? ?
? ? ? ? 2com/groupbyinc/flux/search/lookup/PositionIterator ? nextDoc ? J
? ? IWhile trying to initialize term positions in IndexFieldTerm.setNextDoc() ?
currentDocPos docId [(Ljava/lang/String;Ljava/lang/String;Lcom/groupbyinc/flux/search/lookup/LeafIndexLookup;I)V
K java/lang/String ? 1com/groupbyinc/flux/search/lookup/LeafIndexLookup ? '(Ljava/lang/String;Ljava/lang/String;)V B ?
k ? 5(Lcom/groupbyinc/flux/search/lookup/IndexFieldTerm;)V B ?
? ? 8com/groupbyinc/flux/search/lookup/CachedPositionIterator ?
? ? getReader =()Lcom/groupbyinc/flux/common/apache/lucene/index/LeafReader; ? ?
? ? . /
? getDocId ? ?
? ? ? ?
? getIndexSearcher A()Lcom/groupbyinc/flux/common/apache/lucene/search/IndexSearcher; ? ?
? ? getReaderContext E()Lcom/groupbyinc/flux/common/apache/lucene/index/IndexReaderContext; ? ?
? ? :com/groupbyinc/flux/common/apache/lucene/index/TermContext ? build ?(Lcom/groupbyinc/flux/common/apache/lucene/index/IndexReaderContext;Lcom/groupbyinc/flux/common/apache/lucene/index/Term;)Lcom/groupbyinc/flux/common/apache/lucene/index/TermContext; ? ?
? ? =com/groupbyinc/flux/common/apache/lucene/search/IndexSearcher ? termStatistics ?(Lcom/groupbyinc/flux/common/apache/lucene/index/Term;Lcom/groupbyinc/flux/common/apache/lucene/index/TermContext;)Lcom/groupbyinc/flux/common/apache/lucene/search/TermStatistics; ? ?
? ? Cannot get term statistics: ? indexLookup 3Lcom/groupbyinc/flux/search/lookup/LeafIndexLookup; doRecord tf ()Ljava/util/Iterator; reset ? ?
? ?
validateFlags 6You must call get with all required flags! Instead of ? getCalledStatement (I)Ljava/lang/String; ? ?
? call ? getCallStatement ? ?
? once ? ((Ljava/lang/String;[Ljava/lang/Object;)V B ?
G flags2 getFlagsString ?
&(Ljava/lang/String;)Ljava/lang/String; ?
and calledFlagsCall1 calledFlagsCall2 callStatement1 callStatement2 _index[' '].get(' ', ) calledFlags _FREQUENCIES anddToFlagsString 8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
_POSITIONS _OFFSETS" _PAYLOADS$ _CACHE& flagsString | ) + flag
callStatement java/lang/Class0 desiredAssertionStatus ()Z23
14 Code LocalVariableTable LineNumberTable
Exceptions
StackMapTable Signature H()Ljava/util/Iterator;
SourceFile InnerClasses !
6 2 *? "? '? 7 ( ) 8 @9 * 6 2 *? "? -? 7 ( ) 8 F9 . / 6 ? ]****? 1? 5+? 9? ;*? ;? ? AM*? Y*,? E? ;? 3M? GY? IY? LN? R*? T? RV? R*? X? R? \,? ? _?? ) , 7 *
> ` - / a b ] ( ) ] c d 8 " M O Q R ) ? , ? - ? \ ?: )B / 2 3 6 ? B=~? ? ?=~? ? ?=~? X? ?=~? 8? ?=? 7 B ( ) B @ e 8 ? ? ? " ? 1 ? @ ?: M ? ? N? M? M? 6 7 6 C ?? g? *? i? n? ? pY? q?? g? *? i? u? ? pY? q?,? {N:-? P-*? i? n? ?:? >? ?:*? i? u? ?? (*? ;? ?:,? ?:? ?
Y*? ?:? 7 R v ? ? U 4 ? ? I @ ~ ? ? ( ) ? ? ? c d 5 W x ? 8 T ? 8 : ? ? 0 ? 5 ? 8 ? <