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

com.groupbyinc.flux.index.query.MoreLikeThisQueryParser.class Maven / Gradle / Ivy

There is a newer version: 59
Show newest version
????3E7com/groupbyinc/flux/index/query/MoreLikeThisQueryParserjava/lang/Object+com/groupbyinc/flux/index/query/QueryParserMoreLikeThisQueryParser.java=com/groupbyinc/flux/index/query/MoreLikeThisQueryParser$FieldField8com/groupbyinc/flux/common/xcontent/XContentParser$Token2com/groupbyinc/flux/common/xcontent/XContentParser
Token=com/groupbyinc/flux/index/query/MoreLikeThisQueryBuilder$Item8com/groupbyinc/flux/index/query/MoreLikeThisQueryBuilderItem6com/groupbyinc/flux/index/mapper/MappedFieldType$Names0com/groupbyinc/flux/index/mapper/MappedFieldTypeNamesCcom/groupbyinc/flux/common/apache/lucene/search/BooleanClause$Occur=com/groupbyinc/flux/common/apache/lucene/search/BooleanClauseOccurNAMELjava/lang/String;mlt!fetchServiceHLcom/groupbyinc/flux/index/search/morelikethis/MoreLikeThisFetchService;()V%&
'#$	)this9Lcom/groupbyinc/flux/index/query/MoreLikeThisQueryParser;setFetchServiceK(Lcom/groupbyinc/flux/index/search/morelikethis/MoreLikeThisFetchService;)V*Lcom/groupbyinc/flux/common/inject/Inject;optional%Lcom/groupbyinc/flux/common/Nullable;names()[Ljava/lang/String;java/lang/String5more_like_this7moreLikeThis9parsel(Lcom/groupbyinc/flux/index/query/QueryParseContext;)Lcom/groupbyinc/flux/common/apache/lucene/search/Query;java/io/IOException=5com/groupbyinc/flux/index/query/QueryParsingException?1com/groupbyinc/flux/index/query/QueryParseContextAparser6()Lcom/groupbyinc/flux/common/xcontent/XContentParser;CD
BE:com/groupbyinc/flux/common/lucene/search/MoreLikeThisQueryG
H'searchSimilarityK()Lcom/groupbyinc/flux/common/apache/lucene/search/similarities/Similarity;JK
BL
setSimilarityL(Lcom/groupbyinc/flux/common/apache/lucene/search/similarities/Similarity;)VNO
HPjava/util/ArrayListR
S'java/util/ListU:com/groupbyinc/flux/common/apache/lucene/analysis/AnalyzerW	nextToken<()Lcom/groupbyinc/flux/common/xcontent/XContentParser$Token;YZ[
END_OBJECT:Lcom/groupbyinc/flux/common/xcontent/XContentParser$Token;]^	_
FIELD_NAMEa^	bcurrentName()Ljava/lang/String;defisValue()Zhi
jparseFieldMatcher0()Lcom/groupbyinc/flux/common/ParseFieldMatcher;lm
BnLIKE'Lcom/groupbyinc/flux/common/ParseField;pq		r,com/groupbyinc/flux/common/ParseFieldMatchertmatch<(Ljava/lang/String;Lcom/groupbyinc/flux/common/ParseField;)Zvw
uxparseLikeFieldV(Lcom/groupbyinc/flux/index/query/QueryParseContext;Ljava/util/List;Ljava/util/List;)Vz{
|UNLIKE~q			LIKE_TEXT?q		?text?e?add(Ljava/lang/Object;)Z??V?MAX_QUERY_TERMS?q		?intValue()I???setMaxQueryTerms(I)V??
H?
MIN_TERM_FREQ?q		?setMinTermFrequency??
H?MIN_DOC_FREQ?q		?
setMinDocFreq??
H?MAX_DOC_FREQ?q		?
setMaxDocFreq??
H?MIN_WORD_LENGTH?q		?
setMinWordLen??
H?MAX_WORD_LENGTH?q		?
setMaxWordLen??
H?ANALYZER?q		?analysisService6()Lcom/groupbyinc/flux/index/analysis/AnalysisService;??
B?2com/groupbyinc/flux/index/analysis/AnalysisService?analyzerF(Ljava/lang/String;)Lcom/groupbyinc/flux/index/analysis/NamedAnalyzer;??
??MINIMUM_SHOULD_MATCH?q		?setMinimumShouldMatch(Ljava/lang/String;)V??
H?BOOST_TERMS?q		?
floatValue()F???
setBoostTerms(Z)V??
H?setBoostTermsFactor(F)V??
H?INCLUDE?q		?booleanValue?i?FAIL_ON_UNSUPPORTED_FIELD?q		?boost?equals??
6?setBoost??
H?_name?java/lang/StringBuilder?
?'[mlt] query does not support [?append-(Ljava/lang/String;)Ljava/lang/StringBuilder;??
??]?toString?e
??[(Lcom/groupbyinc/flux/index/query/QueryParseContext;Ljava/lang/String;[Ljava/lang/Object;)V%?
@?START_ARRAY?^	?FIELDS?q		?java/util/LinkedList
'	END_ARRAY^	fieldMapperF(Ljava/lang/String;)Lcom/groupbyinc/flux/index/mapper/MappedFieldType;
B	:()Lcom/groupbyinc/flux/index/mapper/MappedFieldType$Names;3
	indexNamee
IDSq		"java/lang/IllegalArgumentException)ids array element should only contain ids%?
9(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V%
DOCSq		START_OBJECT ^	!+docs array element should include an object#
'?(Lcom/groupbyinc/flux/common/xcontent/XContentParser;Lcom/groupbyinc/flux/common/ParseFieldMatcher;Lcom/groupbyinc/flux/index/query/MoreLikeThisQueryBuilder$Item;)Lcom/groupbyinc/flux/index/query/MoreLikeThisQueryBuilder$Item;;&
'
STOP_WORDS)q		*5com/groupbyinc/flux/common/google/common/collect/Sets,
newHashSet()Ljava/util/HashSet;./
-0
java/util/Set23?setStopWords(Ljava/util/Set;)V56
H7isEmpty9iV:.more_like_this requires 'like' to be specified<0more_like_this requires 'fields' to be non-empty>
mapperService2()Lcom/groupbyinc/flux/index/mapper/MapperService;@A
BB.com/groupbyinc/flux/index/mapper/MapperServiceDsearchAnalyzer>()Lcom/groupbyinc/flux/common/apache/lucene/analysis/Analyzer;FG
EHsetAnalyzer?(Lcom/groupbyinc/flux/common/apache/lucene/analysis/Analyzer;)VJK
HLdefaultFieldNe
BOjava/util/CollectionsQ
singletonList$(Ljava/lang/Object;)Ljava/util/List;ST
RUremoveUnsupportedFields_(Ljava/util/List;Lcom/groupbyinc/flux/common/apache/lucene/analysis/Analyzer;Z)Ljava/util/List;WX
Y"com/groupbyinc/flux/common/Strings[EMPTY_ARRAY[Ljava/lang/String;]^	\_toArray(([Ljava/lang/Object;)[Ljava/lang/Object;abVc^setMoreLikeFields([Ljava/lang/String;)Vfg
Hh
addNamedQueryL(Ljava/lang/String;Lcom/groupbyinc/flux/common/apache/lucene/search/Query;)Vjk
BlsetLikeText(Ljava/util/List;)Vno
Hp
setUnlikeTextro
HshandleItems?(Lcom/groupbyinc/flux/index/query/QueryParseContext;Lcom/groupbyinc/flux/common/lucene/search/MoreLikeThisQuery;Ljava/util/List;Ljava/util/List;ZLjava/util/List;Z)Lcom/groupbyinc/flux/common/apache/lucene/search/Query;uv
wboostFactorFfield	fieldType2Lcom/groupbyinc/flux/index/mapper/MappedFieldType;	stopWords#Ljava/util/Set;Ljava/util/Set;parseContext3Lcom/groupbyinc/flux/index/query/QueryParseContext;4Lcom/groupbyinc/flux/common/xcontent/XContentParser;mltQuery;Ljava/util/List;unlikeTexts	likeItemsQLjava/util/List;unlikeItemsmoreLikeFields;Ljava/util/Iterator;setDefaultIndexTypeFields?(Lcom/groupbyinc/flux/index/query/QueryParseContext;Lcom/groupbyinc/flux/index/query/MoreLikeThisQueryBuilder$Item;Ljava/util/List;Z)V??
?1com/groupbyinc/flux/search/internal/SearchContext?current5()Lcom/groupbyinc/flux/search/internal/SearchContext;??
??Fcom/groupbyinc/flux/index/search/morelikethis/MoreLikeThisFetchService?
fetchResponse?(Ljava/util/List;Lcom/groupbyinc/flux/search/internal/SearchContext;)Lcom/groupbyinc/flux/action/termvectors/MultiTermVectorsResponse;??
??getFieldsFor{(Lcom/groupbyinc/flux/action/termvectors/MultiTermVectorsResponse;)[Lcom/groupbyinc/flux/common/apache/lucene/index/Fields;??
??;([Lcom/groupbyinc/flux/common/apache/lucene/index/Fields;)Vn?
H?r?
H??com/groupbyinc/flux/action/termvectors/MultiTermVectorsResponse?Lcom/groupbyinc/flux/common/apache/lucene/search/BooleanQuery;index?e
?#()Lcom/groupbyinc/flux/index/Index;??
B?com/groupbyinc/flux/index/Index?name?e
??S(Ljava/lang/String;)Lcom/groupbyinc/flux/index/query/MoreLikeThisQueryBuilder$Item;??
?type?e
?
queryTypes()Ljava/util/Collection;??
B?java/util/Collectionsize?!ambiguous type for item with id: ide
 and index: 
???

fields4
doc3()Lcom/groupbyinc/flux/common/bytes/BytesReference;
*T([Ljava/lang/String;)Lcom/groupbyinc/flux/index/query/MoreLikeThisQueryBuilder$Item;
V$com/groupbyinc/flux/index/mapper/UidcreateUidAsBytes^(Ljava/lang/String;Ljava/lang/String;)Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;
 ;com/groupbyinc/flux/common/apache/lucene/queries/TermsQuery"_uid$6com/groupbyinc/flux/common/apache/lucene/util/BytesRef&9[Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;(N(Ljava/lang/String;[Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;)V%*
#+MUST_NOT-?	.query=Lcom/groupbyinc/flux/common/apache/lucene/queries/TermsQuery;uidsJLjava/util/List;
ConstantValueCodeLocalVariableTableLineNumberTableRuntimeVisibleAnnotations"RuntimeVisibleParameterAnnotationsLocalVariableTypeTable
StackMapTable
Exceptions	Signature?(Lcom/groupbyinc/flux/index/query/QueryParseContext;Ljava/util/List;Ljava/util/List;)V?(Ljava/util/List;Lcom/groupbyinc/flux/common/apache/lucene/analysis/Analyzer;Z)Ljava/util/List;p(Lcom/groupbyinc/flux/index/query/QueryParseContext;Lcom/groupbyinc/flux/common/lucene/search/MoreLikeThisQuery;Ljava/util/List;Ljava/util/List;ZLjava/util/List;Z)Lcom/groupbyinc/flux/common/apache/lucene/search/Query;?(Lcom/groupbyinc/flux/index/query/QueryParseContext;Lcom/groupbyinc/flux/index/query/MoreLikeThisQueryBuilder$Item;Ljava/util/List;Z)V?(Lcom/groupbyinc/flux/common/apache/lucene/search/BooleanQuery;Ljava/util/List;)V
SourceFileInnerClasses! 4"#$	%&5<
*?(*?*?6
+,7O8	Q-.5>*+?*?6+,#$7
UV8/0Z192345>?6Y"SY8SY:S?6+,7Z;<5	#J+?FM?HY?IN-+?M?Q?SY?T:?SY?T:?SY?T:?SY?T:::	6
6::
,?\Y:?`??c?,?g:
????k??+?o
?s?y?+?}???+?o
???y?+?}???+?o
???y?,????W???+?o
???y?-,??????i+?o
???y?-,??????M+?o
???y?-,??????1+?o
???y?-,??????+?o
???y?-,???????+?o
???y?-,???????+?o
???y?+??,????:	???+?o
?öy?-,???ǧ??+?o
?ʶy? ,??8??-??-?֧?t+?o
?ٶy?,??6
??Z+?o
?߶y?,??6??@?
??-,?????)?
??,??:???@Y+??Y????
??????????????+?o
??y?H?Y?:,?\Y:????,??:+?
:???
???W???+?o
?s?y?,?\Y:???t+?}???+?o
???y?,?\Y:???K+?}???+?o
??y??,?\Y:???"?k??Y???Y,?????W???+?o
??y??,?\Y:?????"??Y$??,+?o?Y?%?(??W???+?o
?+?y?1?1:,?\Y:??,???4W???-?8??m?@Y+??Y????
???????????"???+?o
?s?y?+?}??%+?o
???y?+?}???@Y+??Y????
???????????;??;??@Y+=??????;??@Y+?????	?+?C?I:	-	?M??6?+?P?V:	?ZW?;??-?`?d?e?i?
+-?m?;?	-?q?;?	-?t?;?*+-
?x?-?6??yz?"{ ?|}?&~?J+,J??EC?
=??,??'#??0??9??<?????	B??
E??H? T??^K?? 
?~??:>?&~,??'#??0??9??<??7?q_a
bde'f0g9i<j?kBmEnHqKrZsbtmuuv?w?x?y?z?{?|?}?~????,?9?H?U?d?q??????????????????????????%?/?:?`?h?w????????????????????????,?4???Y?h?w?????????????????????)?8?C?i?}???????????????????????????
???'?-?7?H?;?4?KBHVVVVVX66?!! (%?*BHVVVVVX666V?BHVVVVVX666V6?!!?3?%!%#
@?<>@
z{5?R*?FN-???k?+-????W?3-???"?,-*?o?Y?%?(??W??Y????6*R??R??R??MC?:R??R??7?!-FQ;
?!$
<>=>
WX5?U*??N-???F-???6:+???/?%?Y??Y?????????????-?????*?645? L??U??U??U??:L??U??7"
$
(JPS;???B6??<>=?uv5??-??:??????:	+	???????:??????:	+	?????*?*-?¶?:,?̶??;?$*?*?¶?:		??:

??	,
?ѻ?Y??:		,?ڶ??		-??	?6?
??	J
??	???	???
?+,?????????????????????dT?????	: ?????????7J(+JTW"d%m(w)?*?+?,?0?1?4?5?7; ???"???"?@???<>=@
??5H?+???+*?????W+???W*????4?@Y*??Y????+?	????+?????????+*??????6?W+??+???7+??0?+?6YS?W?+,,??6?d?e?W?6*????????????:???72<=?@'A:BXDnH?I?J?L?O;
?D=A
??5o?SY?TM+??N-???0-???:?????,???	?!??W???,?;?#?#Y%,?'?d?)?,N*-?/?ݱ64#??f01o??o??g2?:o??g237*
ST#U+V.XBYEZN[f\n^;?V???(=BCD*	
	D		@	




© 2015 - 2025 Weber Informatics LLC | Privacy Policy