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

com.groupbyinc.flux.search.collapse.CollapseBuilder.class Maven / Gradle / Ivy

There is a newer version: 198
Show newest version
????43com/groupbyinc/flux/search/collapse/CollapseBuilderjava/lang/Object.com/groupbyinc/flux/common/io/stream/Writeable4com/groupbyinc/flux/common/xcontent/ToXContentObjectCollapseBuilder.java5com/groupbyinc/flux/common/xcontent/ToXContent$Params
.com/groupbyinc/flux/common/xcontent/ToXContentParams8com/groupbyinc/flux/common/xcontent/XContentParser$Token2com/groupbyinc/flux/common/xcontent/XContentParserTokenDcom/groupbyinc/flux/index/mapper/KeywordFieldMapper$KeywordFieldType3com/groupbyinc/flux/index/mapper/KeywordFieldMapperKeywordFieldTypeBcom/groupbyinc/flux/index/mapper/NumberFieldMapper$NumberFieldType2com/groupbyinc/flux/index/mapper/NumberFieldMapperNumberFieldType5com/groupbyinc/flux/common/io/stream/Writeable$ReaderReader7com/groupbyinc/flux/common/xcontent/ObjectParser$Parser!0com/groupbyinc/flux/common/xcontent/ObjectParser#Parser:com/groupbyinc/flux/common/xcontent/ObjectParser$ValueType&	ValueType%java/lang/invoke/MethodHandles$Lookup)java/lang/invoke/MethodHandles+LookupFIELD_FIELD'Lcom/groupbyinc/flux/common/ParseField;INNER_HITS_FIELD#MAX_CONCURRENT_GROUP_REQUESTS_FIELDPARSER2Lcom/groupbyinc/flux/common/xcontent/ObjectParser;yLcom/groupbyinc/flux/common/xcontent/ObjectParser;fieldLjava/lang/String;	innerHitsLjava/util/List;CLjava/util/List;maxConcurrentGroupRequestsI()V<=
>java/util/Collections@	emptyList()Ljava/util/List;BC
AD78	F:;	Hthis5Lcom/groupbyinc/flux/search/collapse/CollapseBuilder;(Ljava/lang/String;)Vfield must be non-nullMjava/util/ObjectsOrequireNonNull8(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;QR
PS56	U5(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Vjava/io/IOExceptionX0com/groupbyinc/flux/common/io/stream/StreamInputZ
readString()Ljava/lang/String;\]
[^readVInt()I`a
[b
getVersion()Lcom/groupbyinc/flux/Version;de
[fcom/groupbyinc/flux/VersionhV_5_5_0Lcom/groupbyinc/flux/Version;jk	il	onOrAfter (Lcom/groupbyinc/flux/Version;)Zno
ip"java/lang/invoke/LambdaMetafactoryrmetafactory?(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;tu
svwF(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Ljava/lang/Object;y/com/groupbyinc/flux/index/query/InnerHitBuilder{<W
|}~e(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Lcom/groupbyinc/flux/index/query/InnerHitBuilder;?read9()Lcom/groupbyinc/flux/common/io/stream/Writeable$Reader;???readListI(Lcom/groupbyinc/flux/common/io/stream/Writeable$Reader;)Ljava/util/List;??
[?readOptionalWriteablei(Lcom/groupbyinc/flux/common/io/stream/Writeable$Reader;)Lcom/groupbyinc/flux/common/io/stream/Writeable;??
[?
singletonList$(Ljava/lang/Object;)Ljava/util/List;??
A?innerHitBuilder1Lcom/groupbyinc/flux/index/query/InnerHitBuilder;in2Lcom/groupbyinc/flux/common/io/stream/StreamInput;writeTo6(Lcom/groupbyinc/flux/common/io/stream/StreamOutput;)V1com/groupbyinc/flux/common/io/stream/StreamOutput?writeString?L
??	writeVInt(I)V??
??
?f	writeList(Ljava/util/List;)V??
??java/util/List?isEmpty()Z????writeBoolean(Z)V??
??get(I)Ljava/lang/Object;????writeToCollapseBWC??
|?hasInnerHitZout3Lcom/groupbyinc/flux/common/io/stream/StreamOutput;fromXContentk(Lcom/groupbyinc/flux/common/xcontent/XContentParser;)Lcom/groupbyinc/flux/search/collapse/CollapseBuilder;23	?applyZ(Lcom/groupbyinc/flux/common/xcontent/XContentParser;Ljava/lang/Object;)Ljava/lang/Object;??
$?parser4Lcom/groupbyinc/flux/common/xcontent/XContentParser;setFieldI(Ljava/lang/String;)Lcom/groupbyinc/flux/search/collapse/CollapseBuilder;"com/groupbyinc/flux/common/Strings?(Ljava/lang/CharSequence;)Z??
??"java/lang/IllegalArgumentException?field name is null or empty?<L
??setInnerHitsh(Lcom/groupbyinc/flux/index/query/InnerHitBuilder;)Lcom/groupbyinc/flux/search/collapse/CollapseBuilder;innerHitG(Ljava/util/List;)Lcom/groupbyinc/flux/search/collapse/CollapseBuilder;setMaxConcurrentGroupRequests8(I)Lcom/groupbyinc/flux/search/collapse/CollapseBuilder;,maxConcurrentGroupRequests` must be positive?numgetFieldgetInnerHitsgetMaxConcurrentGroupRequests
toXContent?(Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;3com/groupbyinc/flux/common/xcontent/XContentBuilder?startObject7()Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;??
??innerToXContent8(Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;)V??
?	endObject??
??builder5Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;params7Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params;./	?%com/groupbyinc/flux/common/ParseField?getPreferredName?]
??[(Ljava/lang/String;Ljava/lang/String;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;5?
??1/	?J(Ljava/lang/String;I)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;5?
??sizea?0/	y(Ljava/lang/String;Lcom/groupbyinc/flux/common/xcontent/ToXContent;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;5
?
startArrayI(Ljava/lang/String;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;	
?
iterator()Ljava/util/Iterator;
?java/util/IteratorhasNext?next()Ljava/lang/Object;EMPTY_PARAMS?	
??
|endArray?
?equals(Ljava/lang/Object;)ZgetClass()Ljava/lang/Class;#$
%java/lang/String'!"
()'(Ljava/lang/Object;Ljava/lang/Object;)Z!+
P,oLjava/lang/Object;thathashCodehash([Ljava/lang/Object;)I23
P4resultbuildj(Lcom/groupbyinc/flux/search/internal/SearchContext;)Lcom/groupbyinc/flux/search/collapse/CollapseContext;1com/groupbyinc/flux/search/internal/SearchContext9
scrollContext5()Lcom/groupbyinc/flux/search/internal/ScrollContext;;<
:=1com/groupbyinc/flux/search/SearchContextException?)cannot use `collapse` in a scroll contextAH(Lcom/groupbyinc/flux/search/internal/SearchContext;Ljava/lang/String;)V<C
@DsearchAfter<()Lcom/groupbyinc/flux/common/apache/lucene/search/FieldDoc;FG
:H8cannot use `collapse` in conjunction with `search_after`JrescoreLC
:M3cannot use `collapse` in conjunction with `rescore`OgetQueryShardContext5()Lcom/groupbyinc/flux/index/query/QueryShardContext;QR
:S1com/groupbyinc/flux/index/query/QueryShardContextUfieldMapperF(Ljava/lang/String;)Lcom/groupbyinc/flux/index/mapper/MappedFieldType;WX
VYjava/lang/StringBuilder[
\>no mapping found for `^append-(Ljava/lang/String;)Ljava/lang/StringBuilder;`a
\b` in order to collapse ondtoStringf]
\g0com/groupbyinc/flux/index/mapper/MappedFieldTypei!unknown type for collapse field `k)`, only keywords and numbers are acceptedmhasDocValueso?
jpcannot collapse on field `r` without `doc_values`tindexOptions?()Lcom/groupbyinc/flux/common/apache/lucene/index/IndexOptions;vw
jx;com/groupbyinc/flux/common/apache/lucene/index/IndexOptionszNONE=Lcom/groupbyinc/flux/common/apache/lucene/index/IndexOptions;|}	{~/cannot expand `inner_hits` for collapse field `?/`, only indexed field can retrieve `inner_hits`?3com/groupbyinc/flux/search/collapse/CollapseContext?W(Ljava/lang/String;Lcom/groupbyinc/flux/index/mapper/MappedFieldType;Ljava/util/List;)V<?
??context3Lcom/groupbyinc/flux/search/internal/SearchContext;	fieldType2Lcom/groupbyinc/flux/index/mapper/MappedFieldType;lambda$static$0|(Lcom/groupbyinc/flux/common/xcontent/XContentParser;Lcom/groupbyinc/flux/search/collapse/CollapseBuilder;Ljava/lang/Void;)VcurrentToken<()Lcom/groupbyinc/flux/common/xcontent/XContentParser$Token;???START_OBJECT:Lcom/groupbyinc/flux/common/xcontent/XContentParser$Token;??	?g(Lcom/groupbyinc/flux/common/xcontent/XContentParser;)Lcom/groupbyinc/flux/index/query/InnerHitBuilder;??
|???
?START_ARRAY??	?java/util/ArrayList?
?>	nextToken???	END_ARRAY??	?add?"??+com/groupbyinc/flux/common/ParsingException?getTokenLocation8()Lcom/groupbyinc/flux/common/xcontent/XContentLocation;???!Invalid token in inner_hits array?^(Lcom/groupbyinc/flux/common/xcontent/XContentLocation;Ljava/lang/String;[Ljava/lang/Object;)V<?
????
?innerHitBuildersLjava/lang/Void;5((Ljava/lang/String;[Ljava/lang/String;)V<?
??
inner_hits?max_concurrent_group_searches?collapse?
>?7()Lcom/groupbyinc/flux/search/collapse/CollapseBuilder;?()Ljava/util/function/Supplier;???2(Ljava/lang/String;Ljava/util/function/Supplier;)V<?
$?'(Ljava/lang/Object;Ljava/lang/Object;)V???
??J(Lcom/groupbyinc/flux/search/collapse/CollapseBuilder;Ljava/lang/String;)V?accept!()Ljava/util/function/BiConsumer;???
declareStringI(Ljava/util/function/BiConsumer;Lcom/groupbyinc/flux/common/ParseField;)V??
$???
??K(Lcom/groupbyinc/flux/search/collapse/CollapseBuilder;Ljava/lang/Integer;)V??
declareInt??
$?[(Lcom/groupbyinc/flux/common/xcontent/XContentParser;Ljava/lang/Object;Ljava/lang/Object;)V???
???parse;()Lcom/groupbyinc/flux/common/xcontent/ObjectParser$Parser;???OBJECT_ARRAY;)Lcom/groupbyinc/flux/search/collapse/CollapseBuilder;E()Ljava/util/List;BootstrapMethods
SourceFileInnerClasses!./0/1/23?45678?9:;<=?G*??*?E?G*?I??JK?SPQS<L?e*??*?E?G*?I+N?TW*+?V??JK56?YPQZ[\<W??a*??*?E?G*?I*+?_?V*+?c?I+?g?m?q?*+?????G?&+?????|M,?*,???G?
*?E?G?? J??aJKa???2^PQ_` a-b=dJeNfYh`k??=[?|??Y????U+*?V??+*?I??+???m?q?+*?G???/*?G????=+???*?G???|+???? :??UJKU???&	opqr(t:u?vCwTz?(@?Y	???6??*????????}???a+?˙
??YϷѿ*+?V*??JK56?????????B
*+???G*??
JK
???
?????Q*+?G*??JK7879?
??????_?
??Yٷѿ*?I*??JK?;???????]?/*?V??JK???C?/*?G??JK????a?/*?I??JK?????[+??W*+??+??W+?? JK???????
???Y????+???*?V??W*?I?+????*?I??W*?G???d*?G??+???*?G???
?W?<+????W*?G?M,??,??|N-+??W???+? W?? ?	???JK????2???%?1?>?Y?d??????????%3???Y!"??F*+??+?*?&+?&??+?M*?I,?I??*?V,?V?*??*?G,?G?-?? FJKF./)0K?????*?:???1a?^"?Y*?VSY*?GS?5<h*?I`<??"JK6;??? ?78??0+?>??@Y+B?E?+?I??@Y+K?E?+?N?+?N????@Y+P?E?+?T*?V?ZM,?)?@Y+?\Y?]_?c*?V?ce?c?h?E?,??0,??)?@Y+?\Y?]l?c*?V?cn?c?h?E?,?q?)?@Y+?\Y?]s?c*?V?cu?c?h?E?,?y??<*?G?5*?G???)?@Y+?\Y?]??c*?V?c??c?h?E???Y*?V,*?G???? 0JK0??Q????B????&?9?E?Q?U?{??????????????5j3,?B
???u*??N-???+*????W?]-???V??Y??:*??N-???8-???*????W???Y*???????*??N???+??W??4*J?8u??u?Ku??n??*J?9?2=>?@!A*B8C?DNFcBmJtL????	??Y?=??s??Y??(?????Y??(?????Y??(?????$Yĺ??ϳ???????޲?????????????????"34"536E:S;a<rM4xz?x???x???x???x???	B
	D	 	"$%	'$(@*,-




© 2015 - 2024 Weber Informatics LLC | Privacy Policy