
com.groupbyinc.flux.index.query.CommonTermsQueryParser.class Maven / Gradle / Ivy
???? 3Y 6com/groupbyinc/flux/index/query/CommonTermsQueryParser java/lang/Object +com/groupbyinc/flux/index/query/QueryParser CommonTermsQueryParser.java Ccom/groupbyinc/flux/common/apache/lucene/search/BooleanClause$Occur =com/groupbyinc/flux/common/apache/lucene/search/BooleanClause
Occur 8com/groupbyinc/flux/common/xcontent/XContentParser$Token
2com/groupbyinc/flux/common/xcontent/XContentParser Token 6com/groupbyinc/flux/index/mapper/MappedFieldType$Names 0com/groupbyinc/flux/index/mapper/MappedFieldType Names NAME Ljava/lang/String; common DEFAULT_MAX_TERM_DOC_FREQ F<#?
DEFAULT_HIGH_FREQ_OCCUR ELcom/groupbyinc/flux/common/apache/lucene/search/BooleanClause$Occur; DEFAULT_LOW_FREQ_OCCUR DEFAULT_DISABLE_COORD Z ()V *Lcom/groupbyinc/flux/common/inject/Inject; $ %
' this 8Lcom/groupbyinc/flux/index/query/CommonTermsQueryParser; names ()[Ljava/lang/String; java/lang/String - parse l(Lcom/groupbyinc/flux/index/query/QueryParseContext;)Lcom/groupbyinc/flux/common/apache/lucene/search/Query; java/io/IOException 1 5com/groupbyinc/flux/index/query/QueryParsingException 3 1com/groupbyinc/flux/index/query/QueryParseContext 5 parser 6()Lcom/groupbyinc/flux/common/xcontent/XContentParser; 7 8
6 9 nextToken <()Lcom/groupbyinc/flux/common/xcontent/XContentParser$Token; ; < =
FIELD_NAME :Lcom/groupbyinc/flux/common/xcontent/XContentParser$Token; ? @ A "[common] query malformed, no field C [(Lcom/groupbyinc/flux/index/query/QueryParseContext;Ljava/lang/String;[Ljava/lang/Object;)V $ E
4 F currentName ()Ljava/lang/String; H I J L N START_OBJECT P @ Q
END_OBJECT S @ T minimum_should_match V equals (Ljava/lang/Object;)Z X Y
. Z minimumShouldMatch \ isValue ()Z ^ _
` low_freq b lowFreq d text f I g high_freq i highFreq k java/lang/StringBuilder m
n ' ![common] query does not support [ p append -(Ljava/lang/String;)Ljava/lang/StringBuilder; r s
n t ] for [ v ] x toString z I
n { query }
objectText ()Ljava/lang/Object; ? ? analyzer ? analysisService 6()Lcom/groupbyinc/flux/index/analysis/AnalysisService; ? ?
6 ? 2com/groupbyinc/flux/index/analysis/AnalysisService ? F(Ljava/lang/String;)Lcom/groupbyinc/flux/index/analysis/NamedAnalyzer; ? ?
? ? [common] analyzer [ ? ] not found ?
disable_coord ? disableCoord ? booleanValue ? _ ? boost ?
floatValue ()F ? ? ? high_freq_operator ? highFreqOperator ? or ? equalsIgnoreCase (Ljava/lang/String;)Z ? ?
. ? SHOULD ? ? and ? MUST ? ? B[common] query requires operator to be either 'and' or 'or', not [ ? low_freq_operator ? lowFreqOperator ? cutoff_frequency ? _name ? ?[common] query parsed in simplified form, with direct field name, but included more options than just the field name, possibly use its 'options' form, with 'query' element? ? No text specified for text query ? fieldMapper F(Ljava/lang/String;)Lcom/groupbyinc/flux/index/mapper/MappedFieldType; ? ?
6 ? :()Lcom/groupbyinc/flux/index/mapper/MappedFieldType$Names; + ?
? indexName ? I
? searchAnalyzer 4()Lcom/groupbyinc/flux/index/analysis/NamedAnalyzer; ? ?
? :com/groupbyinc/flux/common/apache/lucene/analysis/Analyzer ? getSearchAnalyzer p(Lcom/groupbyinc/flux/index/mapper/MappedFieldType;)Lcom/groupbyinc/flux/common/apache/lucene/analysis/Analyzer; ? ?
6 ?
mapperService 2()Lcom/groupbyinc/flux/index/mapper/MapperService; ? ?
6 ? .com/groupbyinc/flux/index/mapper/MapperService ? >()Lcom/groupbyinc/flux/common/apache/lucene/analysis/Analyzer; ? ?
? ?
? ? "java/lang/IllegalArgumentException ? No analyzer found for [ ? (Ljava/lang/String;)V $ ?
? ? Icom/groupbyinc/flux/common/apache/lucene/queries/ExtendedCommonTermsQuery ? ?(Lcom/groupbyinc/flux/common/apache/lucene/search/BooleanClause$Occur;Lcom/groupbyinc/flux/common/apache/lucene/search/BooleanClause$Occur;FZLcom/groupbyinc/flux/index/mapper/MappedFieldType;)V $ ?
? ? setBoost (F)V ? ?
? ?
{ parseQueryString;(Lcom/groupbyinc/flux/common/apache/lucene/queries/ExtendedCommonTermsQuery;Ljava/lang/String;Ljava/lang/String;Lcom/groupbyinc/flux/index/query/QueryParseContext;Lcom/groupbyinc/flux/common/apache/lucene/analysis/Analyzer;Ljava/lang/String;Ljava/lang/String;)Lcom/groupbyinc/flux/common/apache/lucene/search/Query; ? ?
?
addNamedQuery L(Ljava/lang/String;Lcom/groupbyinc/flux/common/apache/lucene/search/Query;)V ? ?
6 ? 5com/groupbyinc/flux/common/apache/lucene/search/Query ? innerFieldName op currentFieldName field parseContext 3Lcom/groupbyinc/flux/index/query/QueryParseContext; 4Lcom/groupbyinc/flux/common/xcontent/XContentParser; token fieldName value Ljava/lang/Object;
queryAnalyzer lowFreqMinimumShouldMatch highFreqMinimumShouldMatch
highFreqOccur lowFreqOccur maxTermFrequency queryName fieldType 2Lcom/groupbyinc/flux/index/mapper/MappedFieldType;