com.groupbyinc.flux.index.search.MultiMatchQuery$CrossFieldsQueryBuilder.class Maven / Gradle / Ivy
???? 4 Hcom/groupbyinc/flux/index/search/MultiMatchQuery$CrossFieldsQueryBuilder =com/groupbyinc/flux/index/search/MultiMatchQuery$QueryBuilder MultiMatchQuery.java Bcom/groupbyinc/flux/index/search/MultiMatchQuery$FieldAndFieldType 0com/groupbyinc/flux/index/search/MultiMatchQuery FieldAndFieldType CrossFieldsQueryBuilder ;com/groupbyinc/flux/index/query/MultiMatchQueryBuilder$Type 6com/groupbyinc/flux/index/query/MultiMatchQueryBuilder Type java/util/Map$Entry
java/util/Map Entry QueryBuilder 0com/groupbyinc/flux/index/search/MatchQuery$Type +com/groupbyinc/flux/index/search/MatchQuery
blendedFields E[Lcom/groupbyinc/flux/index/search/MultiMatchQuery$FieldAndFieldType; this$0 2Lcom/groupbyinc/flux/index/search/MultiMatchQuery; 5(Lcom/groupbyinc/flux/index/search/MultiMatchQuery;)V ! 6(Lcom/groupbyinc/flux/index/search/MultiMatchQuery;F)V #
$ this JLcom/groupbyinc/flux/index/search/MultiMatchQuery$CrossFieldsQueryBuilder; buildGroupedQueries ?(Lcom/groupbyinc/flux/index/query/MultiMatchQueryBuilder$Type;Ljava/util/Map;Ljava/lang/Object;Ljava/lang/String;)Ljava/util/List; java/io/IOException * java/util/HashMap , ()V .
- / java/util/ArrayList 1
2 / entrySet ()Ljava/util/Set; 4 5 6
java/util/Set 8 iterator ()Ljava/util/Iterator; : ; 9 < java/util/List > java/util/Iterator @ hasNext ()Z B C A D next ()Ljava/lang/Object; F G A H getKey J G K java/lang/String M context 3Lcom/groupbyinc/flux/index/query/QueryShardContext; O P Q 1com/groupbyinc/flux/index/query/QueryShardContext S fieldMapper F(Ljava/lang/String;)Lcom/groupbyinc/flux/index/mapper/MappedFieldType; U V
T W PHRASE =Lcom/groupbyinc/flux/index/query/MultiMatchQueryBuilder$Type; Y Z
[ java/lang/Object ] 0com/groupbyinc/flux/index/mapper/MappedFieldType _ getAnalyzer q(Lcom/groupbyinc/flux/index/mapper/MappedFieldType;Z)Lcom/groupbyinc/flux/common/apache/lucene/analysis/Analyzer; a b
c name ()Ljava/lang/String; e f
` g containsKey (Ljava/lang/Object;)Z i j k put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; m n o :com/groupbyinc/flux/common/apache/lucene/analysis/Analyzer q getValue s G t java/lang/Float v valueOf (F)Ljava/lang/Float; x y
w z get &(Ljava/lang/Object;)Ljava/lang/Object; | } ~
floatValue ()F ? ?
w ? 6(Lcom/groupbyinc/flux/index/mapper/MappedFieldType;F)V ?
? add ? j ? ? @com/groupbyinc/flux/common/apache/lucene/search/MatchNoDocsQuery ? java/lang/StringBuilder ?
? / unknown field ? append -(Ljava/lang/String;)Ljava/lang/StringBuilder; ? ?
? ? toString ? f
? ? (Ljava/lang/String;)V ?
? ? values ()Ljava/util/Collection; ? ? ? java/util/Collection ? ? < size ()I ? ? ? ? ? ? < (I)Ljava/lang/Object; | ? ? ? fieldType 2Lcom/groupbyinc/flux/index/mapper/MappedFieldType; ? ? ? matchQueryType 4()Lcom/groupbyinc/flux/index/search/MatchQuery$Type; ? ?
?
parseGroup ?(Lcom/groupbyinc/flux/index/search/MatchQuery$Type;Ljava/lang/String;Ljava/lang/Float;Ljava/lang/Object;Ljava/lang/String;)Lcom/groupbyinc/flux/common/apache/lucene/search/Query; ? ?
? isEmpty ? C ? ? actualAnalyzer