All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.groupbyinc.flux.index.search.QueryStringQueryParser.class Maven / Gradle / Ivy

There is a newer version: 198
Show newest version
????4S7com/groupbyinc/flux/index/search/QueryStringQueryParserIcom/groupbyinc/flux/common/apache/lucene/queryparser/classic/XQueryParserQueryStringQueryParser.java;com/groupbyinc/flux/index/query/MultiMatchQueryBuilder$Type6com/groupbyinc/flux/index/query/MultiMatchQueryBuilderTypeLcom/groupbyinc/flux/common/apache/lucene/search/MultiTermQuery$RewriteMethod>com/groupbyinc/flux/common/apache/lucene/search/MultiTermQuery

RewriteMethodQcom/groupbyinc/flux/common/apache/lucene/queryparser/classic/QueryParser$OperatorHcom/groupbyinc/flux/common/apache/lucene/queryparser/classic/QueryParserOperatorjava/util/Map$Entry
java/util/MapEntryJcom/groupbyinc/flux/index/mapper/FieldNamesFieldMapper$FieldNamesFieldType6com/groupbyinc/flux/index/mapper/FieldNamesFieldMapperFieldNamesFieldTypeHcom/groupbyinc/flux/common/apache/lucene/search/MultiPhraseQuery$Builder@com/groupbyinc/flux/common/apache/lucene/search/MultiPhraseQuery!BuilderCcom/groupbyinc/flux/common/apache/lucene/search/PhraseQuery$Builder$;com/groupbyinc/flux/common/apache/lucene/search/PhraseQuery&Ccom/groupbyinc/flux/common/apache/lucene/search/BooleanClause$Occur(=com/groupbyinc/flux/common/apache/lucene/search/BooleanClause*Occur:com/groupbyinc/flux/index/search/MatchQuery$ZeroTermsQuery-+com/groupbyinc/flux/index/search/MatchQuery/ZeroTermsQueryEXISTS_FIELDLjava/lang/String;_exists_4context3Lcom/groupbyinc/flux/index/query/QueryShardContext;fieldsAndWeightsLjava/util/Map;4Ljava/util/Map;lenientZqueryBuilder2Lcom/groupbyinc/flux/index/search/MultiMatchQuery;type=Lcom/groupbyinc/flux/index/query/MultiMatchQueryBuilder$Type;groupTieBreakerLjava/lang/Float;
forceAnalyzerH(Lcom/groupbyinc/flux/index/query/QueryShardContext;Ljava/lang/String;)Vjava/util/CollectionsVemptyMap()Ljava/util/Map;XY
WZ1com/groupbyinc/flux/index/query/QueryShardContext\getMapperService2()Lcom/groupbyinc/flux/index/mapper/MapperService;^_
]`.com/groupbyinc/flux/index/mapper/MapperServicebsearchAnalyzer>()Lcom/groupbyinc/flux/common/apache/lucene/analysis/Analyzer;de
cf?(Lcom/groupbyinc/flux/index/query/QueryShardContext;Ljava/lang/String;Ljava/util/Map;ZLcom/groupbyinc/flux/common/apache/lucene/analysis/Analyzer;)VTh
ithis9Lcom/groupbyinc/flux/index/search/QueryStringQueryParser;defaultFieldI(Lcom/groupbyinc/flux/index/query/QueryShardContext;Ljava/lang/String;Z)VE(Lcom/groupbyinc/flux/index/query/QueryShardContext;Ljava/util/Map;)VF(Lcom/groupbyinc/flux/index/query/QueryShardContext;Ljava/util/Map;Z)V7(Lcom/groupbyinc/flux/index/query/QueryShardContext;Z)V*r2com/groupbyinc/flux/index/search/QueryParserHelpertresolveMappingFieldY(Lcom/groupbyinc/flux/index/query/QueryShardContext;Ljava/lang/String;FZZ)Ljava/util/Map;vw
uxQ(Ljava/lang/String;Lcom/groupbyinc/flux/common/apache/lucene/analysis/Analyzer;)VTz
{BEST_FIELDS}@	~?@	?)com/groupbyinc/flux/common/unit/Fuzziness?AUTO?K	??JK	?LM	?R<	?67	?unmodifiableMap (Ljava/util/Map;)Ljava/util/Map;??
W?89	?0com/groupbyinc/flux/index/search/MultiMatchQuery?6(Lcom/groupbyinc/flux/index/query/QueryShardContext;)VT?
??=>	?NULL
?lengthA7
	BcharAt(I)CDE
	F	substring(I)Ljava/lang/String;HI
	J
getRangeQueryq(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZZ)Lcom/groupbyinc/flux/common/apache/lucene/search/Query;LM
N??
PisEmpty()ZRSTnewUnmappedFieldQueryV>
,W?D	?YsetAnalyzer[?
?\:com/groupbyinc/flux/common/apache/lucene/analysis/Analyzer^parse?(Lcom/groupbyinc/flux/index/query/MultiMatchQueryBuilder$Type;Ljava/util/Map;Ljava/lang/Object;Ljava/lang/String;)Lcom/groupbyinc/flux/common/apache/lucene/search/Query;`a
?b
getMessage()Ljava/lang/String;de
5fT?
3hjava/lang/ThrowablejeLjava/io/IOException;	queryTextfieldsoldAnalyzer
phraseSlopqM	?r
setPhraseSlopt?
?uPHRASEw@	x	applySlopq(Lcom/groupbyinc/flux/common/apache/lucene/search/Query;I)Lcom/groupbyinc/flux/common/apache/lucene/search/Query;z{
|queryslopoldSlopjava/util/ArrayList?()VT?
??entrySet()Ljava/util/Set;???
java/util/Set?iterator()Ljava/util/Iterator;????java/util/List?java/util/Iterator?hasNext?S??next()Ljava/lang/Object;????getKey???getRangeQuerySingle?(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZZLcom/groupbyinc/flux/index/query/QueryShardContext;)Lcom/groupbyinc/flux/common/apache/lucene/search/Query;??
?S<	?java/lang/AssertionError?
??5com/groupbyinc/flux/common/apache/lucene/search/Query?getValue?????
?add???size?7??get(I)Ljava/lang/Object;????
tieBreaker??
?Ccom/groupbyinc/flux/common/apache/lucene/search/DisjunctionMaxQuery?(Ljava/util/Collection;F)VT?
??entry:Ljava/util/Map$Entry;Ljava/util/Map$Entry;part1part2startInclusiveendInclusivequeriesILjava/util/List;Ljava/util/List;
tiebreakerjava/lang/RuntimeException?fieldMapperF(Ljava/lang/String;)Lcom/groupbyinc/flux/index/mapper/MappedFieldType;??
]?	??getSearchAnalyzerp(Lcom/groupbyinc/flux/index/mapper/MappedFieldType;)Lcom/groupbyinc/flux/common/apache/lucene/analysis/Analyzer;??
]?	normalize^(Ljava/lang/String;Ljava/lang/String;)Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;??
_?6com/groupbyinc/flux/common/apache/lucene/util/BytesRef?
rangeQuery#(Ljava/lang/Object;Ljava/lang/Object;ZZLcom/groupbyinc/flux/common/geo/ShapeRelation;Lcom/groupbyinc/flux/common/joda/time/DateTimeZone;Lcom/groupbyinc/flux/common/joda/DateMathParser;Lcom/groupbyinc/flux/index/query/QueryShardContext;)Lcom/groupbyinc/flux/common/apache/lucene/search/Query;??
 ?newLenientFieldQueryg(Ljava/lang/String;Ljava/lang/RuntimeException;)Lcom/groupbyinc/flux/common/apache/lucene/search/Query;??
,?
normalizerpart1Binary8Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;part2BinaryLjava/lang/RuntimeException;handleBareFuzzy?(Ljava/lang/String;Lcom/groupbyinc/flux/common/apache/lucene/queryparser/classic/Token;Ljava/lang/String;)Lcom/groupbyinc/flux/common/apache/lucene/search/Query;Bcom/groupbyinc/flux/common/apache/lucene/queryparser/classic/Token?image?3	??
asDistance(Ljava/lang/String;)I??
??
getFuzzyQuery^(Ljava/lang/String;Ljava/lang/String;F)Lcom/groupbyinc/flux/common/apache/lucene/search/Query;??
?build?(Ljava/lang/Object;)Lcom/groupbyinc/flux/common/unit/Fuzziness;??
??asFloat??
??	fuzzySlopDLcom/groupbyinc/flux/common/apache/lucene/queryparser/classic/Token;	termImagegetFuzzyQuerySingle?
termStr
minSimilarity	fromEdits.(I)Lcom/groupbyinc/flux/common/unit/Fuzziness;
?	getFuzzyPrefixLength7

fuzzyQueryy(Ljava/lang/Object;Lcom/groupbyinc/flux/common/unit/Fuzziness;IIZ)Lcom/groupbyinc/flux/common/apache/lucene/search/Query;
 
newFuzzyQueryp(Lcom/groupbyinc/flux/common/apache/lucene/index/Term;FI)Lcom/groupbyinc/flux/common/apache/lucene/search/Query;3com/groupbyinc/flux/common/apache/lucene/index/Termtexte
:com/groupbyinc/flux/common/apache/lucene/search/FuzzyQuery<(Lcom/groupbyinc/flux/common/apache/lucene/index/Term;IIIZ)VT
4com/groupbyinc/flux/index/query/support/QueryParserssetRewriteMethod?(Lcom/groupbyinc/flux/common/apache/lucene/search/MultiTermQuery;Lcom/groupbyinc/flux/common/apache/lucene/search/MultiTermQuery$RewriteMethod;)V !
"minimumSimilarityprefixLengthnumEdits)
?()
AtokenStreame(Ljava/lang/String;Ljava/lang/String;)Lcom/groupbyinc/flux/common/apache/lucene/analysis/TokenStream;CD
_E=com/groupbyinc/flux/common/apache/lucene/analysis/TokenStreamGresetI?
HJjava/io/CloseableL,com/groupbyinc/flux/core/internal/io/IOUtilsNcloseWhileHandlingException([Ljava/io/Closeable;)VPQ
ORScom/groupbyinc/flux/common/apache/lucene/analysis/tokenattributes/CharTermAttributeTaddAttributeL(Ljava/lang/Class;)Lcom/groupbyinc/flux/common/apache/lucene/util/Attribute;VW
HX\com/groupbyinc/flux/common/apache/lucene/analysis/tokenattributes/PositionIncrementAttributeZincrementToken\S
H]?TgetPositionIncrement`7[ajava/lang/ObjectctoStringee
df'(Ljava/lang/String;Ljava/lang/String;)VTh
i
$6[Lcom/groupbyinc/flux/common/apache/lucene/index/Term;l;termAttULcom/groupbyinc/flux/common/apache/lucene/analysis/tokenattributes/CharTermAttribute;posAtt^Lcom/groupbyinc/flux/common/apache/lucene/analysis/tokenattributes/PositionIncrementAttribute;tlist6Ljava/util/List;>;posQueryitermstokeninnerClausesQLjava/util/List;plist	isLastPospossource?Lcom/groupbyinc/flux/common/apache/lucene/analysis/TokenStream;clauses_field_names?fullName??
c?@com/groupbyinc/flux/common/apache/lucene/search/MatchNoDocsQuery?No mappings yet?
?h	isEnabled?S
?=com/groupbyinc/flux/common/apache/lucene/search/WildcardQuery?8(Lcom/groupbyinc/flux/common/apache/lucene/index/Term;)VT?
??2com/groupbyinc/flux/index/query/ExistsQueryBuilder?	newFilter~(Lcom/groupbyinc/flux/index/query/QueryShardContext;Ljava/lang/String;)Lcom/groupbyinc/flux/common/apache/lucene/search/Query;??
??	fieldNamefieldNamesFieldTypeLLcom/groupbyinc/flux/index/mapper/FieldNamesFieldMapper$FieldNamesFieldType;getWildcardQuery_all?)*
?containsKey??getWildcardQuerySingle?)
?actualField?)
?indexedNameFieldgetRegexpQuerygetIndexSettings+()Lcom/groupbyinc/flux/index/IndexSettings;??
]?'com/groupbyinc/flux/index/IndexSettings?getMaxRegexLength?7
??"java/lang/IllegalArgumentException?java/lang/StringBuilder?
??The length of regex [?append-(Ljava/lang/String;)Ljava/lang/StringBuilder;??
??(I)Ljava/lang/StringBuilder;??
??B] used in the [query_string] has exceeded the allowed maximum of [?,]. This maximum can be set by changing the [?MAX_REGEX_LENGTH_SETTING-Lcom/groupbyinc/flux/common/settings/Setting;??	??+com/groupbyinc/flux/common/settings/Setting??e
??] index level setting.?
?f
?hgetRegexpQuerySingle?)
?maxAllowedRegexLength?)
?
yfixNegativeQueryIfNeededp(Lcom/groupbyinc/flux/common/apache/lucene/search/Query;)Lcom/groupbyinc/flux/common/apache/lucene/search/Query;??
,?addSlopToPhrase}(Lcom/groupbyinc/flux/common/apache/lucene/search/PhraseQuery;I)Lcom/groupbyinc/flux/common/apache/lucene/search/PhraseQuery;??
?E(Lcom/groupbyinc/flux/common/apache/lucene/search/MultiPhraseQuery;)VT?
 ?setSlopM(I)Lcom/groupbyinc/flux/common/apache/lucene/search/MultiPhraseQuery$Builder;??
 ?D()Lcom/groupbyinc/flux/common/apache/lucene/search/MultiPhraseQuery;??
 ??com/groupbyinc/flux/common/apache/lucene/search/spans/SpanQuery?
addSlopToSpan{(Lcom/groupbyinc/flux/common/apache/lucene/search/spans/SpanQuery;I)Lcom/groupbyinc/flux/common/apache/lucene/search/Query;
builderJLcom/groupbyinc/flux/common/apache/lucene/search/MultiPhraseQuery$Builder;Ccom/groupbyinc/flux/common/apache/lucene/search/spans/SpanNearQuery
getClausesD()[Lcom/groupbyinc/flux/common/apache/lucene/search/spans/SpanQuery;	

	isInOrderS

G([Lcom/groupbyinc/flux/common/apache/lucene/search/spans/SpanQuery;IZ)VT
Acom/groupbyinc/flux/common/apache/lucene/search/spans/SpanOrQuery

B[Lcom/groupbyinc/flux/common/apache/lucene/search/spans/SpanQuery;E([Lcom/groupbyinc/flux/common/apache/lucene/search/spans/SpanQuery;)VT
clauseALcom/groupbyinc/flux/common/apache/lucene/search/spans/SpanQuery;
%?H(I)Lcom/groupbyinc/flux/common/apache/lucene/search/PhraseQuery$Builder;?
%getTerms8()[Lcom/groupbyinc/flux/common/apache/lucene/index/Term; !
'"getPositions()[I$%
'&[I(}(Lcom/groupbyinc/flux/common/apache/lucene/index/Term;I)Lcom/groupbyinc/flux/common/apache/lucene/search/PhraseQuery$Builder;?*
%+?()Lcom/groupbyinc/flux/common/apache/lucene/search/PhraseQuery;?-
%.=Lcom/groupbyinc/flux/common/apache/lucene/search/PhraseQuery;ELcom/groupbyinc/flux/common/apache/lucene/search/PhraseQuery$Builder;	positionstrim3e
	4
	T.Matching no documents because no terms present7newMatchNoDocsQuery9>
,:`>
<java/lang/Class?desiredAssertionStatusAS
@B
ConstantValue	SignatureCodeLocalVariableTableLineNumberTableLocalVariableTypeTablej(Lcom/groupbyinc/flux/index/query/QueryShardContext;Ljava/util/Map;)Vk(Lcom/groupbyinc/flux/index/query/QueryShardContext;Ljava/util/Map;Z)V?(Lcom/groupbyinc/flux/index/query/QueryShardContext;Ljava/lang/String;Ljava/util/Map;ZLcom/groupbyinc/flux/common/apache/lucene/analysis/Analyzer;)V
StackMapTableI(Ljava/lang/String;Z)Ljava/util/Map;
Exceptions?(Ljava/util/List;)Lcom/groupbyinc/flux/common/apache/lucene/search/Query;
SourceFileInnerClasses!23D56789E:;<=>?@ABCDEDF3G<HIJKLMNOPQR<S<-TUFT*+,?[+?a?g?j?G kl67m3H
jkTnF^*+,?[+?a?g?j?G*kl67m3;<H
stToFd*+,+?a?g?j?G kl6789I8:H
{|EJTpFn*+,+?a?g?j?G*kl6789;<I8:H
??EKTqFg*+s+s?y+?a?g?j?G kl67;<H?
????ThF?S*,?|*???*????*2??*??*+??*-????*??Y+????*??????*????*???G>SklS67Sm3S89S;<S?DIS8:H2?W_`c ?%?-?9?C?L?R?EL??Fx*+??*??+???	????????Gkl??H???MV???)??F>*+???Gkl?@H
????F>*+???GklJKH
????F>*+?ƱGklPQH
????F>*???GklLMH
????F>*+?̱Gkl?DH
????F>*+?ϱGkl?DH
????F>*+?ӱGklF3H
????F>*?ֱGklG<H
????F>*+?ڱGklHIH
????FM*??#??*#???GklA?H?????FA	*????G	kl	?<H
????F>*???GklR<H
????Fk,?,??????Y+,?????+?G kl???BH?
?M??F?s+?R+?>?*??*?+?
?*???+?6*??+?????
*?ӧ???*???*??*??*?Ӹ?*???G4	J<*)<skls3s<H&		$
*
S^nM?	?$?	]	?	]	?	]	?	]	?
	]	?	]		?ENFs*??*?+?#M,?,?*+?%?G &?kl'(HM)*F.?/?GklH"01F,
?*+,*?9??1,?C?,?G=?*+,?K?O?*+,?K?O?,?G?A?F?G?K?M?O?P?R?V?R?S?T?VWM
5
)
??_\5NkO30:F?
?*+?Q:?U?+?X?*???Z:*???s6*???*??*?϶]?*???*??*?̶]*???v*???y,?c:*?}:*???]*???v?:?3Y?g?i?:	*???]*???v	?)q?5)q????G\	h~??
lm?kl?3?n3?M?o9 ?pD)??MI?o:HR\]^` a)c0d>eEfPhXihjqnzo?j?k?l?n?o?pM??&_u5NkO3LMF??s,?
?Ms-?
?N*+?Q:?U?+?X???Y??:????:???W???:	*	???	,-*????:
???
???Y???*
	???????W???????????*???
*?????
*???8??Y???Gpt+??
ZE??	?kl?3??3??3??<??<?o96??????I ZE??	?o:6???HFv	wyz}~(-?6?Z?t?????????????M#	
?????B??FO3??F?	?*+?е*??+?X?*???*????*??է*??:,??
+,??:-??
+-??:	*?	*????:

?:*???
+???qr?Gz4>?DE-??V??	o??
tl??kl?3??3??3??<??<?67H2?
???4?E?V?o?r?t?{???M=	C_?	_F??	?F??			]?????F?0,??C?*+-*??-????*+-,???K???????G*0kl030?03H???MO3??F?	?*+?Q:?U?+?X???Y??:????:???O???:*???	,%?:??????Y???*???????W???????????*???
*?????
*???8??Y???G\	V+??D=??????kl?3?3???o9 ???I D=???o: ???H6
???? ?D?V?i???????????M!?????:??FO3?FAu**??+?е*??+?X?*???*????*??է*??:,??
+,??:*?%??
*?
*??*????:*???
+???ab?GH6,?DG'?dl?uklu3u3u?H2????6?G?S?^?b?d?k?r?M,C_?	_F??		???O3F?1$???+???6?Y+*??*???:*?Ƹ#?G>1kl1'(1$?1%M!&M%~'H??%?.?()F??*+?QN-?U?,?X???Y??:-????:???N???:*???	,?,:??????Y???*???????W???????????*???
*?????
*???8??Y???GRR+??A<??????kl?3?3?o9???I A<???o:???H6
?????A?R?e?}?????????M!?????9??FO3*)F??*?/N**??+?е*??+?X:*-?0?**???*????*??է*?̶0:*??2?*?,*?6*???::?**??=,?@::*-?0?:*???+??:*-?0??:*-?0???&z???&z???????G>I9~??l??kl?3?3?pDHZ????#?&?F?I?S?h?v?z?????????M^?&_X?		__?$?
?		_????		_kO3>)F<
|*?֚
*+,?B?:*?/+,?F:?K?!:*+,?B:??MYS?S???Y??N??Y??:U?Y?U:[?Y?[:?^??A?:?9?_??b?-??W??Y??:?g??W????_?-??W?(?MYS?S?:	??MYS?S	?-???
*+,?B?-???/-???????*+-???????	?B???Y??:6-???(-????:-??d??6???9?*+???	?B:	??*?Y+???	?j?k:	???K???:
6???"
?Y+???	?jS???ػoY
?r:	?O??Y??:
?s:???+???	:
?+Y*+?B???v??W???*
?z:	?+Y	*?~???	??????v??W????*?z?!$5mu{5.?B?????G?&lm}lmSv?`i??m\??J??????	???	?+?M?9?l
???	'?3C??
]??q??<K$??	E0?M|kl|3|3????k??B:??I>Sv?J???C??
]??????B:??H?;!$&.-3.?BJS`mx"{ }!?#?$?%?'?)?*?-?.?-?.?0?2?36 79;B<P=]>q@|A?B?D?F?H?I?J?I?L?M?NO'P@RCSKUSViUo<uXM`?		H5?5???*		?H?U[
B5%??		Hk?
		Hk?		?H5???(?@?&?m?*?
????1?
		?H????
		?H????MM??
		?H????MM?)?		?H?O3=>F?B*???a????M,???Y????,?????Y?Y+s?j???*??+???G BklB?31??H\]^_ a'c9fM	? ?)F)	+?+?*?N,s?
?#-?-??
?-?
?*???*-?@?*+?Q:?U?,?X?????*?????Y??:????:???N???:*???	,??:??????Y???*???????W???????????*???
*?????
*???8??Y???G\	?+???<?????kl33
??3>?o9h???I ?<??>?o:h???HRk
lq+r0u6x>yHzM{Z|_~h????????????????M/
C	?	?????9??FO3?)F??s,?
?	*+?@?+N*?*?/:**????+?е*??+**???*????*??է*?̶0*??=N*-,??:*?0?:*???+??:*?0??:*?0?bk?b?k|????G>ml??kl?3?3??3wpDHR?	?????+?2?R?Z?b?h?k?m?t?|?????????M\?;			_?			__
P????			_kO3?)F 	*??????>,?C?A??Y??Y??Ͷ?,?C??ֶ???ضѲܶ???Ѷ??*+?Q:?U?,?X???Y??:????:???N???:*???	,??:??????Y???*???????W???????????*???
*?????
*???8??Y???G\	?+???<????kl33?MY?o9q???I ?<??Y?o:q???HJ???%?>?Q?Y?c?h?q????????????????M%?Q?????9??FO3?)F??*?*?/N**????+?е*??+?X:*-?0?**???*????*??է*?̶0*+,??::*-?0?:*???+??:*-?0??:*-?0?
&b?.Zb?
&~.Z~bs~{?~G>V~?dl??kl?3?3
~pDHR??
?? ?&?+?.?N?V?Z?_?b?d?k?s?x?{?~???ME?._X?		__V????		_kO3wxF{*+??M,??,??G kl????I??H??
??M??O3EPz{F?W+?'?"???+?????Y???*+?'??+?"?? Y+?"??N-??W-???+???
*+????+?G*9WklW??WMH*
???&?-?9???D?K?U?M	F#	u+???Y+??+????+??Q+?????N6+??:?66?!2:-?*???S???޻Y-??+?G>S1B?4??Muklu~uMH2?????%?1?4?S?d?j?s?M ?&??$???F???%Y?N-?W+?#:+?':6??-2.?,W????-?/?GH?M?kl?~0?M71+?l%2(H"%4:
M?'%m)?`>F\+?5?6?
8?;?*+?=?Gkl~3H
MO3>?F4?C?????HOM@QRJ		
@	@	 "#	%'#	)+,@	.01@




© 2015 - 2024 Weber Informatics LLC | Privacy Policy