com.groupbyinc.flux.action.search.SearchRequest.class Maven / Gradle / Ivy
???? 4 /com/groupbyinc/flux/action/search/SearchRequest (com/groupbyinc/flux/action/ActionRequest 5com/groupbyinc/flux/action/IndicesRequest$Replaceable SearchRequest.java 1com/groupbyinc/flux/action/search/SearchRequest$1 5com/groupbyinc/flux/common/xcontent/ToXContent$Params
.com/groupbyinc/flux/common/xcontent/ToXContent Params 8com/groupbyinc/flux/common/xcontent/ToXContent$MapParams MapParams )com/groupbyinc/flux/action/IndicesRequest Replaceable 5com/groupbyinc/flux/common/io/stream/Writeable$Reader .com/groupbyinc/flux/common/io/stream/Writeable Reader %java/lang/invoke/MethodHandles$Lookup java/lang/invoke/MethodHandles Lookup DEPRECATION_LOGGER 6Lcom/groupbyinc/flux/common/logging/DeprecationLogger;
FORMAT_PARAMS 7Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params; DEFAULT_PRE_FILTER_SHARD_SIZE I ? DEFAULT_BATCHED_REDUCE_SIZE
searchType .Lcom/groupbyinc/flux/action/search/SearchType; indices [Ljava/lang/String; routing Ljava/lang/String; %Lcom/groupbyinc/flux/common/Nullable;
preference source 8Lcom/groupbyinc/flux/search/builder/SearchSourceBuilder; requestCache Ljava/lang/Boolean; allowPartialSearchResults scroll #Lcom/groupbyinc/flux/search/Scroll; batchedReduceSize maxConcurrentShardRequests preFilterShardSize types DEFAULT_INDICES_OPTIONS 3Lcom/groupbyinc/flux/action/support/IndicesOptions; indicesOptions ()V > ?
@ ,com/groupbyinc/flux/action/search/SearchType B DEFAULT D ) C E ( ) G "com/groupbyinc/flux/common/Strings I EMPTY_ARRAY K + J L * + N 7 $ P 8 $ R 9 $ T : + V ; < X = < Z this 1Lcom/groupbyinc/flux/action/search/SearchRequest; ([Ljava/lang/String;)V 6com/groupbyinc/flux/search/builder/SearchSourceBuilder _
` @ N([Ljava/lang/String;Lcom/groupbyinc/flux/search/builder/SearchSourceBuilder;)V > b
c "java/lang/IllegalArgumentException e source must not be null g (Ljava/lang/String;)V > i
f j + F([Ljava/lang/String;)Lcom/groupbyinc/flux/action/search/SearchRequest; * m
n 0 1 p validate ?()Lcom/groupbyinc/flux/action/ActionRequestValidationException; %()Lcom/groupbyinc/flux/search/Scroll; 5 t
u trackTotalHits ()Z w x
` y ?disabling [track_total_hits] is not allowed in a scroll context { *com/groupbyinc/flux/action/ValidateActions } addValidationError ?(Ljava/lang/String;Lcom/groupbyinc/flux/action/ActionRequestValidationException;)Lcom/groupbyinc/flux/action/ActionRequestValidationException; ?
~ ? ;com/groupbyinc/flux/action/ActionRequestValidationException ? !com/groupbyinc/flux/search/Scroll ? from ()I ? ?
` ? /using [from] is not allowed in a scroll context ? 2 3 ? java/lang/Boolean ? booleanValue ? x
? ? ? nExplicitly set [request_cache] for a scroll query is deprecated and will return a 400 error in future versions ? java/lang/Object ? 4com/groupbyinc/flux/common/logging/DeprecationLogger ?
deprecated ((Ljava/lang/String;[Ljava/lang/Object;)V ? ?
? ? size ? ?
` ? ([size] cannot be [0] in a scroll context ? validationException =Lcom/groupbyinc/flux/action/ActionRequestValidationException; indices must not be null ? java/util/Objects ? requireNonNull 8(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object; ? ?
? ? index must not be null ? index 5()Lcom/groupbyinc/flux/action/support/IndicesOptions; f(Lcom/groupbyinc/flux/action/support/IndicesOptions;)Lcom/groupbyinc/flux/action/search/SearchRequest; indicesOptions must not be null ? 1com/groupbyinc/flux/action/support/IndicesOptions ? ()[Ljava/lang/String; types must not be null ? type must not be null ? type ()Ljava/lang/String; , - ? E(Ljava/lang/String;)Lcom/groupbyinc/flux/action/search/SearchRequest; arrayToCommaDelimitedString '([Ljava/lang/Object;)Ljava/lang/String; ? ?
J ? routings / - ? a(Lcom/groupbyinc/flux/action/search/SearchType;)Lcom/groupbyinc/flux/action/search/SearchRequest; searchType must not be null ?
fromString B(Ljava/lang/String;)Lcom/groupbyinc/flux/action/search/SearchType; ? ?
C ? ( ?
? k(Lcom/groupbyinc/flux/search/builder/SearchSourceBuilder;)Lcom/groupbyinc/flux/action/search/SearchRequest;
sourceBuilder :()Lcom/groupbyinc/flux/search/builder/SearchSourceBuilder; 0()Lcom/groupbyinc/flux/action/search/SearchType; 5 6 ? V(Lcom/groupbyinc/flux/search/Scroll;)Lcom/groupbyinc/flux/action/search/SearchRequest; ^(Lcom/groupbyinc/flux/common/unit/TimeValue;)Lcom/groupbyinc/flux/action/search/SearchRequest; .(Lcom/groupbyinc/flux/common/unit/TimeValue;)V > ?
? ? 5 ?
? keepAlive +Lcom/groupbyinc/flux/common/unit/TimeValue; java/lang/StringBuilder ?
? @ getClass ()Ljava/lang/Class; ? ?
? ? java/lang/Class ?
getSimpleName ? ?
? ? append -(Ljava/lang/String;)Ljava/lang/StringBuilder; ? ?
? ? .Scroll.keepAlive ? toString ? ?
? ? )com/groupbyinc/flux/common/unit/TimeValue ? parseTimeValue |(Ljava/lang/String;Lcom/groupbyinc/flux/common/unit/TimeValue;Ljava/lang/String;)Lcom/groupbyinc/flux/common/unit/TimeValue; ? ?
? ? F(Ljava/lang/Boolean;)Lcom/groupbyinc/flux/action/search/SearchRequest; ()Ljava/lang/Boolean; 4(Z)Lcom/groupbyinc/flux/action/search/SearchRequest; valueOf (Z)Ljava/lang/Boolean; ?
? 4 3 Z setBatchedReduceSize (I)V batchedReduceSize must be >= 2 getBatchedReduceSize getMaxConcurrentShardRequests setMaxConcurrentShardRequests 'maxConcurrentShardRequests must be >= 1
setPreFilterShardSize preFilterShardSize must be >= 1 getPreFilterShardSize isMaxConcurrentShardRequestsSet
isSuggestOnly x
`
createTask x(JLjava/lang/String;Ljava/lang/String;Lcom/groupbyinc/flux/tasks/TaskId;Ljava/util/Map;)Lcom/groupbyinc/flux/tasks/Task; ?(Lcom/groupbyinc/flux/action/search/SearchRequest;JLjava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcom/groupbyinc/flux/tasks/TaskId;Ljava/util/Map;)V >
id J action parentTaskId "Lcom/groupbyinc/flux/tasks/TaskId; headers 5Ljava/util/Map; Ljava/util/Map; readFrom 5(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)V java/io/IOException&$%
( 0com/groupbyinc/flux/common/io/stream/StreamInput* readByte ()B,-
+. fromId 1(B)Lcom/groupbyinc/flux/action/search/SearchType;01
C2 readVInt4 ?
+5 java/lang/String7
readString9 ?
+: readOptionalString<