
com.groupbyinc.flux.index.query.QueryStringQueryParser.class Maven / Gradle / Ivy
???? 3G 6com/groupbyinc/flux/index/query/QueryStringQueryParser java/lang/Object +com/groupbyinc/flux/index/query/QueryParser QueryStringQueryParser.java 8com/groupbyinc/flux/common/xcontent/XContentParser$Token 2com/groupbyinc/flux/common/xcontent/XContentParser
Token Qcom/groupbyinc/flux/common/apache/lucene/queryparser/classic/QueryParser$Operator
Hcom/groupbyinc/flux/common/apache/lucene/queryparser/classic/QueryParser Operator Lcom/groupbyinc/flux/common/apache/lucene/search/MultiTermQuery$RewriteMethod >com/groupbyinc/flux/common/apache/lucene/search/MultiTermQuery
RewriteMethod NAME Ljava/lang/String; query_string FUZZINESS 'Lcom/groupbyinc/flux/common/ParseField; defaultAnalyzeWildcard Z defaultAllowLeadingWildcard 1(Lcom/groupbyinc/flux/common/settings/Settings;)V *Lcom/groupbyinc/flux/common/inject/Inject; ()V #
$ +indices.query.query_string.analyze_wildcard & java/lang/Boolean ( valueOf (Z)Ljava/lang/Boolean; * +
) , ,com/groupbyinc/flux/common/settings/Settings . getAsBoolean :(Ljava/lang/String;Ljava/lang/Boolean;)Ljava/lang/Boolean; 0 1
/ 2 booleanValue ()Z 4 5
) 6 8 /indices.query.query_string.allowLeadingWildcard : < this 8Lcom/groupbyinc/flux/index/query/QueryStringQueryParser; settings .Lcom/groupbyinc/flux/common/settings/Settings; names ()[Ljava/lang/String; java/lang/String D parse l(Lcom/groupbyinc/flux/index/query/QueryParseContext;)Lcom/groupbyinc/flux/common/apache/lucene/search/Query; java/io/IOException H 5com/groupbyinc/flux/index/query/QueryParsingException J "java/lang/IllegalArgumentException L Kcom/groupbyinc/flux/common/apache/lucene/queryparser/classic/ParseException N 1com/groupbyinc/flux/index/query/QueryParseContext P parser 6()Lcom/groupbyinc/flux/common/xcontent/XContentParser; R S
Q T Pcom/groupbyinc/flux/common/apache/lucene/queryparser/classic/QueryParserSettings V
W $ defaultField ()Ljava/lang/String; Y Z
Q [ (Ljava/lang/String;)V Y ]
W ^ queryStringLenient ` 5
Q a lenient (Z)V c d
W e analyzeWildcard g d
W h allowLeadingWildcard j d
W k java/util/Locale m ROOT Ljava/util/Locale; o p n q locale (Ljava/util/Locale;)V s t
W u nextToken <()Lcom/groupbyinc/flux/common/xcontent/XContentParser$Token; w x y
END_OBJECT :Lcom/groupbyinc/flux/common/xcontent/XContentParser$Token; { | }
FIELD_NAME | ? currentName ? Z ? START_ARRAY ? | ? fields ? equals (Ljava/lang/Object;)Z ? ?
E ? END_ARRAY ? | ??? textCharacters ()[C ? ? ?
textOffset ()I ? ? ?
textLength ? ? ? [C ? ([CII)V ?
E ? java/lang/Float ?
parseFloat (Ljava/lang/String;)F ? ?
? ? text ? Z ? ()Ljava/util/List; ? ?
W ? java/util/ArrayList ?
? $ (Ljava/util/List;)V ? ?
W ? &com/groupbyinc/flux/common/regex/Regex ? isSimpleMatchPattern (Ljava/lang/String;)Z ? ?
? ?
mapperService 2()Lcom/groupbyinc/flux/index/mapper/MapperService; ? ?
Q ? .com/groupbyinc/flux/index/mapper/MapperService ? simpleMatchToIndexNames *(Ljava/lang/String;)Ljava/util/Collection; ? ?
? ? java/util/Collection ? iterator ()Ljava/util/Iterator; ? ? ? ? java/util/Iterator ? hasNext ? 5 ? ? next ()Ljava/lang/Object; ? ? ? ? java/util/List ? add ? ? ? ? boosts C()Lcom/groupbyinc/flux/common/carrotsearch/hppc/ObjectFloatHashMap; ? ?
W ? ?com/groupbyinc/flux/common/carrotsearch/hppc/ObjectFloatHashMap ?
? $ D(Lcom/groupbyinc/flux/common/carrotsearch/hppc/ObjectFloatHashMap;)V ? ?
W ? put (Ljava/lang/Object;F)F ? ?
? ? java/lang/StringBuilder ?
? $ '[query_string] query does not support [ ? append -(Ljava/lang/String;)Ljava/lang/StringBuilder; ? ?
? ? ] ? toString ? Z
? ? [(Lcom/groupbyinc/flux/index/query/QueryParseContext;Ljava/lang/String;[Ljava/lang/Object;)V ?
K ? isValue ? 5
? query ? queryString ? ]
W ?
default_field ? Y default_operator defaultOperator or equalsIgnoreCase ?
E OR SLcom/groupbyinc/flux/common/apache/lucene/queryparser/classic/QueryParser$Operator;
V(Lcom/groupbyinc/flux/common/apache/lucene/queryparser/classic/QueryParser$Operator;)V
W and AND Query default operator [ ] is not allowed analyzer analysisService 6()Lcom/groupbyinc/flux/index/analysis/AnalysisService;
Q 2com/groupbyinc/flux/index/analysis/AnalysisService! F(Ljava/lang/String;)Lcom/groupbyinc/flux/index/analysis/NamedAnalyzer;#
"$ [query_string] analyzer [& ] not found( 0com/groupbyinc/flux/index/analysis/NamedAnalyzer* forcedAnalyzer ?(Lcom/groupbyinc/flux/common/apache/lucene/analysis/Analyzer;)V,-
W. quote_analyzer0
quoteAnalyzer2 [query_string] quote_analyzer [4 forcedQuoteAnalyzer6-
W7 allow_leading_wildcard9 j 6 auto_generate_phrase_queries= autoGeneratePhraseQueries?? d
WA max_determinized_statesC maxDeterminizedStatesE intValueG ? H (I)VEJ
WK lowercase_expanded_termsM lowercaseExpandedTermsOO d
WQ enable_position_incrementsS enablePositionIncrementsUU d
WW escapeYY d
W[ use_dis_max] useDisMax__ d
Wa fuzzy_prefix_lengthc fuzzyPrefixLengtheeJ
Wg fuzzy_max_expansionsi fuzzyMaxExpansionskkJ
Wm
fuzzy_rewriteo fuzzyRewriteq parseFieldMatcher 0()Lcom/groupbyinc/flux/common/ParseFieldMatcher;st
Qu
textOrNullw Z x 4com/groupbyinc/flux/index/query/support/QueryParsersz parseRewriteMethod ?(Lcom/groupbyinc/flux/common/ParseFieldMatcher;Ljava/lang/String;)Lcom/groupbyinc/flux/common/apache/lucene/search/MultiTermQuery$RewriteMethod;|}
{~ fuzzyRewriteMethod Q(Lcom/groupbyinc/flux/common/apache/lucene/search/MultiTermQuery$RewriteMethod;)V??
W? phrase_slop?
phraseSlop??J
W? ? ,com/groupbyinc/flux/common/ParseFieldMatcher? match <(Ljava/lang/String;Lcom/groupbyinc/flux/common/ParseField;)Z??
?? )com/groupbyinc/flux/common/unit/Fuzziness? a(Lcom/groupbyinc/flux/common/xcontent/XContentParser;)Lcom/groupbyinc/flux/common/unit/Fuzziness; F?
?? setFuzziness .(Lcom/groupbyinc/flux/common/unit/Fuzziness;)V??
W? boost?
floatValue ()F?? ? (F)V??
W? tie_breaker?
tieBreaker???
W? analyze_wildcard? g rewrite?
rewriteMethod??
W? minimum_should_match? minimumShouldMatch?? ]
W? quote_field_suffix? quoteFieldSuffix?? ]
W? c s +com/groupbyinc/flux/common/util/LocaleUtils? &(Ljava/lang/String;)Ljava/util/Locale; F?
?? time_zone? 1com/groupbyinc/flux/common/joda/time/DateTimeZone? forID G(Ljava/lang/String;)Lcom/groupbyinc/flux/common/joda/time/DateTimeZone;??
?? timeZone 6(Lcom/groupbyinc/flux/common/joda/time/DateTimeZone;)V??
W? [query_string] time_zone [? ] is unknown? _name? ? Z
W? ,query_string must be provided with a [query]? searchAnalyzer >()Lcom/groupbyinc/flux/common/apache/lucene/analysis/Analyzer;??
?? defaultAnalyzer?-
W? searchQuoteAnalyzer??
?? defaultQuoteAnalyzer?-
W?Y 5
W? &(Ljava/lang/String;)Ljava/lang/String;Y?
? queryParser ?(Lcom/groupbyinc/flux/common/apache/lucene/queryparser/classic/QueryParserSettings;)Lcom/groupbyinc/flux/common/apache/lucene/queryparser/classic/MapperQueryParser;??
Q? Ncom/groupbyinc/flux/common/apache/lucene/queryparser/classic/MapperQueryParser? K(Ljava/lang/String;)Lcom/groupbyinc/flux/common/apache/lucene/search/Query; F?
?? 5com/groupbyinc/flux/common/apache/lucene/search/Query???
W? getBoost??
?? setBoost??
?? 0com/groupbyinc/flux/common/lucene/search/Queries fixNegativeQueryIfNeeded p(Lcom/groupbyinc/flux/common/apache/lucene/search/Query;)Lcom/groupbyinc/flux/common/apache/lucene/search/Query;