com.groupbyinc.flux.common.apache.lucene.search.spans.SpanWeight.class Maven / Gradle / Ivy
???? 4 @com/groupbyinc/flux/common/apache/lucene/search/spans/SpanWeight 6com/groupbyinc/flux/common/apache/lucene/search/Weight SpanWeight.java Bcom/groupbyinc/flux/common/apache/lucene/search/spans/SpanWeight$1 Icom/groupbyinc/flux/common/apache/lucene/search/spans/SpanWeight$Postings Postings Qcom/groupbyinc/flux/common/apache/lucene/search/similarities/Similarity$SimWeight Gcom/groupbyinc/flux/common/apache/lucene/search/similarities/Similarity
SimWeight Qcom/groupbyinc/flux/common/apache/lucene/search/similarities/Similarity$SimScorer SimScorer
similarity ILcom/groupbyinc/flux/common/apache/lucene/search/similarities/Similarity; simWeight SLcom/groupbyinc/flux/common/apache/lucene/search/similarities/Similarity$SimWeight; field Ljava/lang/String; ?(Lcom/groupbyinc/flux/common/apache/lucene/search/spans/SpanQuery;Lcom/groupbyinc/flux/common/apache/lucene/search/IndexSearcher;Ljava/util/Map;F)V java/io/IOException :(Lcom/groupbyinc/flux/common/apache/lucene/search/Query;)V
?com/groupbyinc/flux/common/apache/lucene/search/spans/SpanQuery getField ()Ljava/lang/String; " #
! $ & =com/groupbyinc/flux/common/apache/lucene/search/IndexSearcher (
java/util/Map *
getSimilarity L(Z)Lcom/groupbyinc/flux/common/apache/lucene/search/similarities/Similarity; , -
) . 0 buildSimWeight ?(Lcom/groupbyinc/flux/common/apache/lucene/search/spans/SpanQuery;Lcom/groupbyinc/flux/common/apache/lucene/search/IndexSearcher;Ljava/util/Map;F)Lcom/groupbyinc/flux/common/apache/lucene/search/similarities/Similarity$SimWeight; 2 3
4 6 this BLcom/groupbyinc/flux/common/apache/lucene/search/spans/SpanWeight; query ALcom/groupbyinc/flux/common/apache/lucene/search/spans/SpanQuery; searcher ?Lcom/groupbyinc/flux/common/apache/lucene/search/IndexSearcher; termContexts ?Ljava/util/Map; Ljava/util/Map; boost F size ()I C D + E >com/groupbyinc/flux/common/apache/lucene/search/TermStatistics G keySet ()Ljava/util/Set; I J + K
java/util/Set M iterator ()Ljava/util/Iterator; O P N Q A[Lcom/groupbyinc/flux/common/apache/lucene/search/TermStatistics; S java/util/Iterator U hasNext ()Z W X V Y next ()Ljava/lang/Object; [ \ V ] 3com/groupbyinc/flux/common/apache/lucene/index/Term _ get &(Ljava/lang/Object;)Ljava/lang/Object; a b + c :com/groupbyinc/flux/common/apache/lucene/index/TermContext e 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; g h
) i collectionStatistics Z(Ljava/lang/String;)Lcom/groupbyinc/flux/common/apache/lucene/search/CollectionStatistics; k l
) m
computeWeight ?(FLcom/groupbyinc/flux/common/apache/lucene/search/CollectionStatistics;[Lcom/groupbyinc/flux/common/apache/lucene/search/TermStatistics;)Lcom/groupbyinc/flux/common/apache/lucene/search/similarities/Similarity$SimWeight; o p
q term 5Lcom/groupbyinc/flux/common/apache/lucene/index/Term; termStats i I collectionStats FLcom/groupbyinc/flux/common/apache/lucene/search/CollectionStatistics; extractTermContexts (Ljava/util/Map;)V getSpans ?(Lcom/groupbyinc/flux/common/apache/lucene/index/LeafReaderContext;Lcom/groupbyinc/flux/common/apache/lucene/search/spans/SpanWeight$Postings;)Lcom/groupbyinc/flux/common/apache/lucene/search/spans/Spans; scorer ?(Lcom/groupbyinc/flux/common/apache/lucene/index/LeafReaderContext;)Lcom/groupbyinc/flux/common/apache/lucene/search/spans/SpanScorer; POSITIONS KLcom/groupbyinc/flux/common/apache/lucene/search/spans/SpanWeight$Postings; ? ? ? | }
? ;com/groupbyinc/flux/common/apache/lucene/search/spans/Spans ? getSimScorer ?(Lcom/groupbyinc/flux/common/apache/lucene/index/LeafReaderContext;)Lcom/groupbyinc/flux/common/apache/lucene/search/similarities/Similarity$SimScorer; ? ?
? @com/groupbyinc/flux/common/apache/lucene/search/spans/SpanScorer ? ?(Lcom/groupbyinc/flux/common/apache/lucene/search/spans/SpanWeight;Lcom/groupbyinc/flux/common/apache/lucene/search/spans/Spans;Lcom/groupbyinc/flux/common/apache/lucene/search/similarities/Similarity$SimScorer;)V ?
? ? context BLcom/groupbyinc/flux/common/apache/lucene/index/LeafReaderContext; spans =Lcom/groupbyinc/flux/common/apache/lucene/search/spans/Spans; docScorer SLcom/groupbyinc/flux/common/apache/lucene/search/similarities/Similarity$SimScorer; simScorer ?(Lcom/groupbyinc/flux/common/apache/lucene/search/similarities/Similarity$SimWeight;Lcom/groupbyinc/flux/common/apache/lucene/index/LeafReaderContext;)Lcom/groupbyinc/flux/common/apache/lucene/search/similarities/Similarity$SimScorer; ? ?
? explain ?(Lcom/groupbyinc/flux/common/apache/lucene/index/LeafReaderContext;I)Lcom/groupbyinc/flux/common/apache/lucene/search/Explanation; ~
? D()Lcom/groupbyinc/flux/common/apache/lucene/search/DocIdSetIterator; O ?
? ? @com/groupbyinc/flux/common/apache/lucene/search/DocIdSetIterator ? advance (I)I ? ?
? ?
sloppyFreq ()F ? ?
? ? java/lang/StringBuilder ? ()V ?
? ? phraseFreq= ? append -(Ljava/lang/String;)Ljava/lang/StringBuilder; ? ?
? ? (F)Ljava/lang/StringBuilder; ? ?
? ? toString ? #
? ? ;com/groupbyinc/flux/common/apache/lucene/search/Explanation ? match ?(FLjava/lang/String;[Lcom/groupbyinc/flux/common/apache/lucene/search/Explanation;)Lcom/groupbyinc/flux/common/apache/lucene/search/Explanation; ? ?
? ? }(ILcom/groupbyinc/flux/common/apache/lucene/search/Explanation;)Lcom/groupbyinc/flux/common/apache/lucene/search/Explanation; ? ?
? getValue ? ?
? ? weight( ? getQuery 9()Lcom/groupbyinc/flux/common/apache/lucene/search/Query; ? ?
? -(Ljava/lang/Object;)Ljava/lang/StringBuilder; ? ?
? ? in ? (I)Ljava/lang/StringBuilder; ? ?
? ? ) [ ? java/lang/Object ? getClass ()Ljava/lang/Class; ? ?
? ? java/lang/Class ?
getSimpleName ? #
? ?
], result of: ? no matching term ? noMatch ?(Ljava/lang/String;[Lcom/groupbyinc/flux/common/apache/lucene/search/Explanation;)Lcom/groupbyinc/flux/common/apache/lucene/search/Explanation; ? ?
? ? freq freqExplanation =Lcom/groupbyinc/flux/common/apache/lucene/search/Explanation; scoreExplanation newDoc doc BLcom/groupbyinc/flux/common/apache/lucene/search/spans/SpanScorer; |(Lcom/groupbyinc/flux/common/apache/lucene/index/LeafReaderContext;)Lcom/groupbyinc/flux/common/apache/lucene/search/Scorer; Code LocalVariableTable LocalVariableTypeTable LineNumberTable
StackMapTable
Exceptions Signature(Lcom/groupbyinc/flux/common/apache/lucene/search/spans/SpanQuery;Lcom/groupbyinc/flux/common/apache/lucene/search/IndexSearcher;Ljava/util/Map;F)VX(Lcom/groupbyinc/flux/common/apache/lucene/search/spans/SpanQuery;Lcom/groupbyinc/flux/common/apache/lucene/search/IndexSearcher;Ljava/util/Map;F)Lcom/groupbyinc/flux/common/apache/lucene/search/similarities/Similarity$SimWeight; ?(Ljava/util/Map;)V
SourceFile InnerClasses! ? ? ,*+? *+? %? '*,-? ? ? /? 1**+,-? 5? 7? ? 4 , 8 9 , : ; , <