com.groupbyinc.flux.index.query.SimpleQueryStringBuilder.class Maven / Gradle / Ivy
???? 4< 8com/groupbyinc/flux/index/query/SimpleQueryStringBuilder rLcom/groupbyinc/flux/index/query/AbstractQueryBuilder; 4com/groupbyinc/flux/index/query/AbstractQueryBuilder SimpleQueryStringBuilder.java Fcom/groupbyinc/flux/index/search/SimpleQueryStringQueryParser$Settings =com/groupbyinc/flux/index/search/SimpleQueryStringQueryParser Settings java/util/Map$Entry
java/util/Map Entry 5com/groupbyinc/flux/common/xcontent/ToXContent$Params .com/groupbyinc/flux/common/xcontent/ToXContent Params 8com/groupbyinc/flux/common/xcontent/XContentParser$Token 2com/groupbyinc/flux/common/xcontent/XContentParser Token Ccom/groupbyinc/flux/common/apache/lucene/search/BooleanClause$Occur =com/groupbyinc/flux/common/apache/lucene/search/BooleanClause Occur %java/lang/invoke/MethodHandles$Lookup java/lang/invoke/MethodHandles " Lookup DEFAULT_LENIENT Z DEFAULT_ANALYZE_WILDCARD DEFAULT_OPERATOR *Lcom/groupbyinc/flux/index/query/Operator;
DEFAULT_FLAGS I DEFAULT_FUZZY_PREFIX_LENGTH DEFAULT_FUZZY_MAX_EXPANSIONS 2 DEFAULT_FUZZY_TRANSPOSITIONS NAME Ljava/lang/String; simple_query_string 4 MINIMUM_SHOULD_MATCH_FIELD 'Lcom/groupbyinc/flux/common/ParseField; ANALYZE_WILDCARD_FIELD
LENIENT_FIELD LOWERCASE_EXPANDED_TERMS_FIELD LOCALE_FIELD FLAGS_FIELD DEFAULT_OPERATOR_FIELD ANALYZER_FIELD QUERY_FIELD FIELDS_FIELD QUOTE_FIELD_SUFFIX_FIELD ALL_FIELDS_FIELD GENERATE_SYNONYMS_PHRASE_QUERY FUZZY_PREFIX_LENGTH_FIELD FUZZY_MAX_EXPANSIONS_FIELD FUZZY_TRANSPOSITIONS_FIELD queryText fieldsAndWeights Ljava/util/Map; 4Ljava/util/Map; analyzer defaultOperator minimumShouldMatch flags
lenientSet settings HLcom/groupbyinc/flux/index/search/SimpleQueryStringQueryParser$Settings; (Ljava/lang/String;)V ()V R T
U java/util/HashMap W
X U H I Z ) * \ L * ^ + , ` N , b O & d
U P Q g "java/lang/IllegalArgumentException i query text missing k R S
j m java/lang/String o G 3 q this :Lcom/groupbyinc/flux/index/query/SimpleQueryStringBuilder; 5(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)V java/io/IOException v R u
x 0com/groupbyinc/flux/common/io/stream/StreamInput z
readString ()Ljava/lang/String; | }
{ ~ readInt ()I ? ?
{ ? readFloat ()F ? ?
{ ? java/lang/Float ? valueOf (F)Ljava/lang/Float; ? ?
? ? put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; ? ? ? putAll (Ljava/util/Map;)V ? ? ? readOptionalString ? }
{ ? K 3 ? (com/groupbyinc/flux/index/query/Operator ? readFromStream ^(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Lcom/groupbyinc/flux/index/query/Operator; ? ?
? ?
getVersion ()Lcom/groupbyinc/flux/Version; ? ?
{ ? com/groupbyinc/flux/Version ? V_5_1_1 Lcom/groupbyinc/flux/Version; ? ? ? ? before (Lcom/groupbyinc/flux/Version;)Z ? ?
? ? readBoolean ()Z ? ?
{ ? lenient (Z)V ? ?
? onOrAfter ? ?
? ? analyzeWildcard ? ?
? M 3 ? quoteFieldSuffix ? S
?
V_6_0_0_beta2 ? ? ? ? readOptionalBoolean ()Ljava/lang/Boolean; ? ?
{ ? java/lang/Boolean ? booleanValue ? ?
? ? (Z)Ljava/lang/Boolean; ? ?
? ? useAllFields O(Ljava/lang/Boolean;)Lcom/groupbyinc/flux/index/query/SimpleQueryStringBuilder; ? ?
? V_6_1_0 ? ? ? ? autoGenerateSynonymsPhraseQuery ? ?
? readVInt ? ?
{ ? fuzzyPrefixLength (I)V ? ?
? fuzzyMaxExpansions ? ?
? fuzzyTranspositions ? ?
? field weight Ljava/lang/Float; i Ljava/lang/Boolean; in 2Lcom/groupbyinc/flux/common/io/stream/StreamInput; size fields doWriteTo 6(Lcom/groupbyinc/flux/common/io/stream/StreamOutput;)V 1com/groupbyinc/flux/common/io/stream/StreamOutput ? writeString ? S
? ? ? ? ? writeInt ? ?
? ? entrySet ()Ljava/util/Set; ? ? ?
java/util/Set iterator ()Ljava/util/Iterator; java/util/Iterator hasNext ?
next ()Ljava/lang/Object;
getKey
getValue
floatValue ?
?
writeFloat (F)V
? writeOptionalString S
? writeTo ?
?!
? ? writeBoolean$ ?
?% ? ?
' ? ?
) java/util/Locale+ ROOT Ljava/util/Locale;-. ,/
toLanguageTag1 }
,2 ? }
4 ? ?
6 writeOptionalBoolean (Ljava/lang/Boolean;)V89
?: ? ?
< ? ?
> writeVInt@ ?
?A ? ?
C ? ?
E entry :Ljava/util/Map$Entry; Ljava/util/Map$Entry; out 3Lcom/groupbyinc/flux/common/io/stream/StreamOutput; value N(Ljava/lang/String;)Lcom/groupbyinc/flux/index/query/SimpleQueryStringBuilder; "com/groupbyinc/flux/common/StringsN isEmpty (Ljava/lang/CharSequence;)ZPQ
OR supplied field is null or emptyT O(Ljava/lang/String;F)Lcom/groupbyinc/flux/index/query/SimpleQueryStringBuilder; boost F K(Ljava/util/Map;)Lcom/groupbyinc/flux/index/query/SimpleQueryStringBuilder; fields cannot be nullZ java/util/Objects\ requireNonNull 8(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;^_
]` ()Ljava/util/Map; Ljava/lang/Deprecated; keySetd ? e stream ()Ljava/util/stream/Stream;ghi "java/lang/invoke/LambdaMetafactoryk metafactory ?(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;mn
lop (Ljava/lang/Object;)Zr &com/groupbyinc/flux/common/regex/Regext isMatchAllPattern (Ljava/lang/String;)Zvw
uxyw test ()Ljava/util/function/Predicate;|} ~ java/util/stream/Stream? anyMatch !(Ljava/util/function/Predicate;)Z???? *? java/util/Collections? singletonMap 5(Ljava/lang/Object;Ljava/lang/Object;)Ljava/util/Map;??
?? f(Lcom/groupbyinc/flux/index/query/Operator;)Lcom/groupbyinc/flux/index/query/SimpleQueryStringBuilder; ,()Lcom/groupbyinc/flux/index/query/Operator; t([Lcom/groupbyinc/flux/index/query/SimpleQueryStringFlag;)Lcom/groupbyinc/flux/index/query/SimpleQueryStringBuilder; 8[Lcom/groupbyinc/flux/index/query/SimpleQueryStringFlag;? 5com/groupbyinc/flux/index/query/SimpleQueryStringFlag?L , ?? flag 7Lcom/groupbyinc/flux/index/query/SimpleQueryStringFlag; =(I)Lcom/groupbyinc/flux/index/query/SimpleQueryStringBuilder; suffix =(Z)Lcom/groupbyinc/flux/index/query/SimpleQueryStringBuilder; doToQuery l(Lcom/groupbyinc/flux/index/query/QueryShardContext;)Lcom/groupbyinc/flux/common/apache/lucene/search/Query; K(Lcom/groupbyinc/flux/index/search/SimpleQueryStringQueryParser$Settings;)V R?
?P ? ? 2com/groupbyinc/flux/index/search/QueryParserHelper? resolveMappingFields S(Lcom/groupbyinc/flux/index/query/QueryShardContext;Ljava/util/Map;)Ljava/util/Map;??
?? 1com/groupbyinc/flux/index/query/QueryShardContext?
defaultFields ()Ljava/util/List;??
?? getMapperService 2()Lcom/groupbyinc/flux/index/mapper/MapperService;??
?? .com/groupbyinc/flux/index/mapper/MapperService?
allEnabled? ?
?? java/util/List?? ? _all? get (I)Ljava/lang/Object;???? equals?r
p?
singletonList $(Ljava/lang/Object;)Ljava/util/List;??
?? parseFieldsAndWeights !(Ljava/util/List;)Ljava/util/Map;??
?? ?(Ljava/util/Map;ILcom/groupbyinc/flux/index/search/SimpleQueryStringQueryParser$Settings;Lcom/groupbyinc/flux/index/query/QueryShardContext;)V R?
? getIndexAnalyzers 5()Lcom/groupbyinc/flux/index/analysis/IndexAnalyzers;??
?? 1com/groupbyinc/flux/index/analysis/IndexAnalyzers? F(Ljava/lang/String;)Lcom/groupbyinc/flux/index/analysis/NamedAnalyzer;??
?? 3com/groupbyinc/flux/index/query/QueryShardException? java/lang/StringBuilder?
? U [simple_query_string] analyzer [? append -(Ljava/lang/String;)Ljava/lang/StringBuilder;??
?? ] not found? toString? }
?? java/lang/Object? [(Lcom/groupbyinc/flux/index/query/QueryShardContext;Ljava/lang/String;[Ljava/lang/Object;)V R?
?? :com/groupbyinc/flux/common/apache/lucene/analysis/Analyzer? ?(Lcom/groupbyinc/flux/common/apache/lucene/analysis/Analyzer;Ljava/util/Map;ILcom/groupbyinc/flux/index/search/SimpleQueryStringQueryParser$Settings;Lcom/groupbyinc/flux/index/query/QueryShardContext;)V R?
? toBooleanClauseOccur G()Lcom/groupbyinc/flux/common/apache/lucene/search/BooleanClause$Occur;??
?? setDefaultOperator H(Lcom/groupbyinc/flux/common/apache/lucene/search/BooleanClause$Occur;)V??
? parse K(Ljava/lang/String;)Lcom/groupbyinc/flux/common/apache/lucene/search/Query;??
? 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;
? resolvedFieldsAndWeights $Ljava/util/List; Ljava/util/List;
isAllField sqp ?Lcom/groupbyinc/flux/index/search/SimpleQueryStringQueryParser; luceneAnalyzer