Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 14 additions & 1 deletion protos/generated/models/aggregated_models.proto
Original file line number Diff line number Diff line change
Expand Up @@ -2683,6 +2683,17 @@ message GlobalAggregation {
// Sub-aggregations for this bucket aggregation
map<string, AggregationContainer> aggs = 4;
}
message GlobalParams {
optional ObjectMap pretty = 1;

optional ObjectMap human = 2;

optional ObjectMap error_trace = 3;

optional ObjectMap source = 4;

optional ObjectMap filter_path = 5;
}
message GoogleNormalizedDistanceHeuristic {
// Set to `false` if you defined a custom background filter that represents a different set of documents that you want to compare to.
optional bool background_is_superset = 1;
Expand Down Expand Up @@ -3114,7 +3125,7 @@ message HitsMetadataJsonValue {
optional HitsMetadataMaxScore max_score = 3;
}
message HitsMetadataJsonValueAllOfHits {
optional ObjectMap source = 1 [json_name = "_source"];
optional ObjectMap source = 1;
}
message HitsMetadataMaxScore {
oneof hits_metadata_max_score {
Expand Down Expand Up @@ -3221,6 +3232,8 @@ message HybridQuery {
repeated QueryContainer queries = 3;

optional int32 pagination_depth = 4;

optional QueryContainer filter = 5;
}
message IdsQuery {
// Floating point number used to decrease or increase the relevance scores of the query. Boost values are relative to the default value of 1.0. A boost value between 0 and 1.0 decreases the relevance score. A value greater than 1.0 increases the relevance score.
Expand Down
34 changes: 5 additions & 29 deletions protos/generated/services/default_service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -44,20 +44,8 @@ message BulkRequest {
// The number of shard copies that must be active before proceeding with the operation. Set to all or any positive integer up to the total number of shards in the index (`number_of_replicas+1`).
optional WaitForActiveShards wait_for_active_shards = 12;

// Whether to pretty-format the returned JSON response.
optional bool pretty = 13;

// Whether to return human-readable values for statistics.
optional bool human = 14;

// Whether to include the stack trace of returned errors.
optional bool error_trace = 15;

// The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
optional string source = 16;

// A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
repeated string filter_path = 17;
// Global query parameters
optional GlobalParams global_params = 13;
}

message BulkResponse {
Expand Down Expand Up @@ -162,22 +150,10 @@ message SearchRequest {
// If `true`, aggregation and suggester names are be prefixed by their respective types in the response.
optional bool typed_keys = 32;

// Whether to pretty-format the returned JSON response.
optional bool pretty = 33;

// Whether to return human-readable values for statistics.
optional bool human = 34;

// Whether to include the stack trace of returned errors.
optional bool error_trace = 35;

// The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
optional string source = 36;

// A comma-separated list of filters used to filter the response. Use wildcards to match any field or part of a field's name. To exclude fields, use `-`.
repeated string filter_path = 37;
// Global query parameters
optional GlobalParams global_params = 33;

optional SearchRequestBody search_request_body = 38;
optional SearchRequestBody search_request_body = 34;
}

message SearchResponse {
Expand Down