com.groupbyinc.flux.index.search.MultiMatchQuery.class Maven / Gradle / Ivy
???? 4N 0com/groupbyinc/flux/index/search/MultiMatchQuery +com/groupbyinc/flux/index/search/MatchQuery MultiMatchQuery.java 2com/groupbyinc/flux/index/search/MultiMatchQuery$1 Bcom/groupbyinc/flux/index/search/MultiMatchQuery$FieldAndFieldType FieldAndFieldType Hcom/groupbyinc/flux/index/search/MultiMatchQuery$CrossFieldsQueryBuilder CrossFieldsQueryBuilder =com/groupbyinc/flux/index/search/MultiMatchQuery$QueryBuilder QueryBuilder 0com/groupbyinc/flux/index/search/MatchQuery$Type Type ;com/groupbyinc/flux/index/query/MultiMatchQueryBuilder$Type 6com/groupbyinc/flux/index/query/MultiMatchQueryBuilder java/util/Map$Entry
java/util/Map Entry groupTieBreaker Ljava/lang/Float; queryBuilder ?Lcom/groupbyinc/flux/index/search/MultiMatchQuery$QueryBuilder;
setTieBreaker (F)V java/lang/Float # valueOf (F)Ljava/lang/Float; % &
$ ' ) this 2Lcom/groupbyinc/flux/index/search/MultiMatchQuery;
tieBreaker F 6(Lcom/groupbyinc/flux/index/query/QueryShardContext;)V / 0
1 context 3Lcom/groupbyinc/flux/index/query/QueryShardContext;
parseAndApply ?(Lcom/groupbyinc/flux/index/search/MatchQuery$Type;Ljava/lang/String;Ljava/lang/Object;Ljava/lang/String;Ljava/lang/Float;)Lcom/groupbyinc/flux/common/apache/lucene/search/Query; java/io/IOException 7 parse ?(Lcom/groupbyinc/flux/index/search/MatchQuery$Type;Ljava/lang/String;Ljava/lang/Object;)Lcom/groupbyinc/flux/common/apache/lucene/search/Query; 9 :
; 0com/groupbyinc/flux/common/lucene/search/Queries = maybeApplyMinimumShouldMatch ?(Lcom/groupbyinc/flux/common/apache/lucene/search/Query;Ljava/lang/String;)Lcom/groupbyinc/flux/common/apache/lucene/search/Query; ? @
> A
floatValue ()F C D
$ E @com/groupbyinc/flux/common/apache/lucene/search/MatchNoDocsQuery G :com/groupbyinc/flux/common/apache/lucene/search/BoostQuery I ;(Lcom/groupbyinc/flux/common/apache/lucene/search/Query;F)V / K
J L 5com/groupbyinc/flux/common/apache/lucene/search/Query N type 2Lcom/groupbyinc/flux/index/search/MatchQuery$Type; fieldName Ljava/lang/String; value Ljava/lang/Object; minimumShouldMatch
boostValue query 7Lcom/groupbyinc/flux/common/apache/lucene/search/Query; ?(Lcom/groupbyinc/flux/index/query/MultiMatchQueryBuilder$Type;Ljava/util/Map;Ljava/lang/Object;Ljava/lang/String;)Lcom/groupbyinc/flux/common/apache/lucene/search/Query; size ()I [ \ ] entrySet ()Ljava/util/Set; _ ` a
java/util/Set c iterator ()Ljava/util/Iterator; e f d g java/util/Iterator i next ()Ljava/lang/Object; k l j m getValue o l p matchQueryType 4()Lcom/groupbyinc/flux/index/search/MatchQuery$Type; r s
t getKey v l w java/lang/String y 5 6
{ - D
} D$SwitchMap$org$elasticsearch$index$query$MultiMatchQueryBuilder$Type [I ? ? ordinal ? \
? 6(Lcom/groupbyinc/flux/index/search/MultiMatchQuery;F)V / ?
? ? 5(Lcom/groupbyinc/flux/index/search/MultiMatchQuery;)V / ?
? java/lang/IllegalStateException ? java/lang/StringBuilder ? ()V / ?
? ? No such type: ? append -(Ljava/lang/String;)Ljava/lang/StringBuilder; ? ?
? ? -(Ljava/lang/Object;)Ljava/lang/StringBuilder; ? ?
? ? toString ()Ljava/lang/String; ? ?
? ? (Ljava/lang/String;)V / ?
? ? buildGroupedQueries ?(Lcom/groupbyinc/flux/index/query/MultiMatchQueryBuilder$Type;Ljava/util/Map;Ljava/lang/Object;Ljava/lang/String;)Ljava/util/List; ? ?
?
access$000 ?(Lcom/groupbyinc/flux/index/search/MultiMatchQuery$QueryBuilder;Ljava/util/List;)Lcom/groupbyinc/flux/common/apache/lucene/search/Query; ? ?
? java/lang/Object ?
fieldBoost :Ljava/util/Map$Entry; Ljava/util/Map$Entry; result queries JLjava/util/List<+Lcom/groupbyinc/flux/common/apache/lucene/search/Query;>; Ljava/util/List; =Lcom/groupbyinc/flux/index/query/MultiMatchQueryBuilder$Type;
fieldNames 4Ljava/util/Map; Ljava/util/Map; blendTerm ?(Lcom/groupbyinc/flux/index/query/QueryShardContext;Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;Ljava/lang/Float;F[Lcom/groupbyinc/flux/index/search/MultiMatchQuery$FieldAndFieldType;)Lcom/groupbyinc/flux/common/apache/lucene/search/Query; 6com/groupbyinc/flux/common/apache/lucene/util/BytesRef ?
blendTerms ?(Lcom/groupbyinc/flux/index/query/QueryShardContext;[Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;Ljava/lang/Float;F[Lcom/groupbyinc/flux/index/search/MultiMatchQuery$FieldAndFieldType;)Lcom/groupbyinc/flux/common/apache/lucene/search/Query; ? ?
? 8Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef; commonTermsCutoff
blendedFields E[Lcom/groupbyinc/flux/index/search/MultiMatchQuery$FieldAndFieldType; "java/lang/IllegalArgumentException ? /com/groupbyinc/flux/ElasticsearchParseException ? java/util/ArrayList ?
? ? 3com/groupbyinc/flux/common/apache/lucene/index/Term ? 1com/groupbyinc/flux/index/query/QueryShardContext ? 9[Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef; ? ? java/util/List ? 6[Lcom/groupbyinc/flux/common/apache/lucene/index/Term; ? [F ? fieldType 2Lcom/groupbyinc/flux/index/mapper/MappedFieldType; ? ? ? 0com/groupbyinc/flux/index/mapper/MappedFieldType ? termQuery ~(Ljava/lang/Object;Lcom/groupbyinc/flux/index/query/QueryShardContext;)Lcom/groupbyinc/flux/common/apache/lucene/search/Query; ? ?
? ? getCause ()Ljava/lang/Throwable; ? ?
? ? boost ? . ? getQuery 9()Lcom/groupbyinc/flux/common/apache/lucene/search/Query; ? ?
J ? getBoost ? D
J ? getClass ()Ljava/lang/Class; ? ?
? ? 9com/groupbyinc/flux/common/apache/lucene/search/TermQuery ? getTerm 7()Lcom/groupbyinc/flux/common/apache/lucene/index/Term; ? ?
? ? add (Ljava/lang/Object;)Z ? ? ? ? java/util/Arrays copyOf )([Ljava/lang/Object;I)[Ljava/lang/Object;
([FI)[F
Acom/groupbyinc/flux/common/apache/lucene/queries/BlendedTermQuery commonTermsBlendedQuery ~([Lcom/groupbyinc/flux/common/apache/lucene/index/Term;[FF)Lcom/groupbyinc/flux/common/apache/lucene/queries/BlendedTermQuery;
dismaxBlendedQuery
? ] get (I)Ljava/lang/Object; ? Ccom/groupbyinc/flux/common/apache/lucene/search/DisjunctionMaxQuery (Ljava/util/Collection;F)V /
e $Ljava/lang/IllegalArgumentException; parseException 1Lcom/groupbyinc/flux/ElasticsearchParseException; bq