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: 129
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	?
>parsel(Lcom/groupbyinc/flux/common/xcontent/XContentParser;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;??
$?parser4Lcom/groupbyinc/flux/common/xcontent/XContentParser;buildersetFieldI(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??
??5Lcom/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34
P5resultbuildj(Lcom/groupbyinc/flux/search/internal/SearchContext;)Lcom/groupbyinc/flux/search/collapse/CollapseContext;1com/groupbyinc/flux/search/internal/SearchContext:
scrollContext5()Lcom/groupbyinc/flux/search/internal/ScrollContext;<=
;>1com/groupbyinc/flux/search/SearchContextException@)cannot use `collapse` in a scroll contextBH(Lcom/groupbyinc/flux/search/internal/SearchContext;Ljava/lang/String;)V<D
AEsearchAfter<()Lcom/groupbyinc/flux/common/apache/lucene/search/FieldDoc;GH
;I8cannot use `collapse` in conjunction with `search_after`KrescoreMC
;N3cannot use `collapse` in conjunction with `rescore`PgetQueryShardContext5()Lcom/groupbyinc/flux/index/query/QueryShardContext;RS
;T1com/groupbyinc/flux/index/query/QueryShardContextVfieldMapperF(Ljava/lang/String;)Lcom/groupbyinc/flux/index/mapper/MappedFieldType;XY
WZjava/lang/StringBuilder\
]>no mapping found for `_append-(Ljava/lang/String;)Ljava/lang/StringBuilder;ab
]c` in order to collapse onetoStringg]
]h0com/groupbyinc/flux/index/mapper/MappedFieldTypej!unknown type for collapse field `l)`, only keywords and numbers are acceptednhasDocValuesp?
kqcannot collapse on field `s` without `doc_values`uindexOptions?()Lcom/groupbyinc/flux/common/apache/lucene/index/IndexOptions;wx
ky;com/groupbyinc/flux/common/apache/lucene/index/IndexOptions{NONE=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?E(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???
???;()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	???M??*?Y?????L+?????K?
}~?Y???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/0)1K?????*?:???2a?^"?Y*?VSY*?GS?6<h*?I`<??"JK7;??? ?89??,+????AY+C?F?+?J??AY+L?F?+?O?+?O????AY+Q?F?+?U*?V?[M,?)?AY+?]Y?^`?d*?V?df?d?i?F?,??0,??)?AY+?]Y?^m?d*?V?do?d?i?F?,?r?)?AY+?]Y?^t?d*?V?dv?d?i?F?,?z???<*?G?5*?G???)?AY+?]Y?^??d*?V?d??d?i?F???Y,*?G???? ,JK,??Q????B????&?9?E?Q?U?{??????????????5k3,?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 - 2025 Weber Informatics LLC | Privacy Policy