Skip to content

Commit

Permalink
Still testing
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshMock committed Nov 20, 2024
1 parent 20d3e05 commit df1a652
Show file tree
Hide file tree
Showing 115 changed files with 609 additions and 818 deletions.
20 changes: 10 additions & 10 deletions docs/reference-async_search-submit.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -56,57 +56,57 @@ interface AsyncSearchSubmitRequest extends <<RequestBase>> {
allow_partial_search_results?: boolean
analyzer?: string
analyze_wildcard?: boolean
batched_reduce_size?: number
batched_reduce_size?: <<_long, long>>
ccs_minimize_roundtrips?: boolean
default_operator?: QueryDslOperator
df?: string
expand_wildcards?: <<ExpandWildcards>>
ignore_throttled?: boolean
ignore_unavailable?: boolean
lenient?: boolean
max_concurrent_shard_requests?: number
max_concurrent_shard_requests?: <<_long, long>>
min_compatible_shard_node?: <<VersionString>>
preference?: string
pre_filter_shard_size?: number
pre_filter_shard_size?: <<_long, long>>
request_cache?: boolean
routing?: <<Routing>>
scroll?: <<Duration>>
search_type?: <<SearchType>>
suggest_field?: <<Field>>
suggest_mode?: <<SuggestMode>>
suggest_size?: number
suggest_size?: <<_long, long>>
suggest_text?: string
typed_keys?: boolean
rest_total_hits_as_int?: boolean
_source_excludes?: <<Fields>>
_source_includes?: <<Fields>>
q?: string
aggregations?: Record<string, AggregationsAggregationContainer>
/** @alias aggregations */
pass:[/**] @alias aggregations */
aggs?: Record<string, AggregationsAggregationContainer>
collapse?: SearchFieldCollapse
explain?: boolean
ext?: Record<string, any>
from?: number
from?: <<_integer, integer>>
highlight?: SearchHighlight
track_total_hits?: SearchTrackHits
indices_boost?: Record<<<IndexName>>, number>[]
indices_boost?: Record<<<IndexName>>, <<_double, double>>>[]
docvalue_fields?: (QueryDslFieldAndFormat | <<Field>>)[]
knn?: <<KnnSearch>> | <<KnnSearch>>[]
min_score?: number
min_score?: <<_double, double>>
post_filter?: QueryDslQueryContainer
profile?: boolean
query?: QueryDslQueryContainer
rescore?: SearchRescore | SearchRescore[]
script_fields?: Record<string, <<ScriptField>>>
search_after?: <<SortResults>>
size?: number
size?: <<_integer, integer>>
slice?: <<SlicedScroll>>
sort?: <<Sort>>
_source?: SearchSourceConfig
fields?: (QueryDslFieldAndFormat | <<Field>>)[]
suggest?: SearchSuggester
terminate_after?: number
terminate_after?: <<_long, long>>
timeout?: string
track_scores?: boolean
version?: boolean
Expand Down
4 changes: 2 additions & 2 deletions docs/reference-bulk.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ interface BulkRequest<TDocument = unknown, TPartialDocument = unknown> extends <
interface BulkResponse {
errors: boolean
items: Partial<Record<BulkOperationType, BulkResponseItem>>[]
took: number
ingest_took?: number
took: <<_long, long>>
ingest_took?: <<_long, long>>
}

[pass]
Expand Down
4 changes: 2 additions & 2 deletions docs/reference-cat-ml_trained_models.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ interface CatMlTrainedModelsRequest extends CatCatRequestBase {
bytes?: <<Bytes>>
h?: CatCatTrainedModelsColumns
s?: CatCatTrainedModelsColumns
from?: number
size?: number
from?: <<_integer, integer>>
size?: <<_integer, integer>>
}

[pass]
Expand Down
4 changes: 2 additions & 2 deletions docs/reference-cat-transforms.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,11 @@ Get transforms. Returns configuration and usage information about transforms. CA
interface CatTransformsRequest extends CatCatRequestBase {
transform_id?: <<Id>>
allow_no_match?: boolean
from?: number
from?: <<_integer, integer>>
h?: CatCatTransformColumns
s?: CatCatTransformColumns
time?: <<TimeUnit>>
size?: number
size?: <<_integer, integer>>
}

[pass]
Expand Down
10 changes: 5 additions & 5 deletions docs/reference-ccr-follow.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,14 @@ interface CcrFollowRequest extends <<RequestBase>> {
index: <<IndexName>>
wait_for_active_shards?: <<WaitForActiveShards>>
leader_index?: <<IndexName>>
max_outstanding_read_requests?: number
max_outstanding_write_requests?: number
max_read_request_operation_count?: number
max_outstanding_read_requests?: <<_long, long>>
max_outstanding_write_requests?: <<_long, long>>
max_read_request_operation_count?: <<_long, long>>
max_read_request_size?: string
max_retry_delay?: <<Duration>>
max_write_buffer_count?: number
max_write_buffer_count?: <<_long, long>>
max_write_buffer_size?: string
max_write_request_operation_count?: number
max_write_request_operation_count?: <<_long, long>>
max_write_request_size?: string
read_poll_timeout?: <<Duration>>
remote_cluster?: string
Expand Down
10 changes: 5 additions & 5 deletions docs/reference-ccr-put_auto_follow_pattern.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -53,16 +53,16 @@ interface CcrPutAutoFollowPatternRequest extends <<RequestBase>> {
follow_index_pattern?: <<IndexPattern>>
leader_index_patterns?: <<IndexPatterns>>
leader_index_exclusion_patterns?: <<IndexPatterns>>
max_outstanding_read_requests?: number
max_outstanding_read_requests?: <<_integer, integer>>
settings?: Record<string, any>
max_outstanding_write_requests?: number
max_outstanding_write_requests?: <<_integer, integer>>
read_poll_timeout?: <<Duration>>
max_read_request_operation_count?: number
max_read_request_operation_count?: <<_integer, integer>>
max_read_request_size?: <<ByteSize>>
max_retry_delay?: <<Duration>>
max_write_buffer_count?: number
max_write_buffer_count?: <<_integer, integer>>
max_write_buffer_size?: <<ByteSize>>
max_write_request_operation_count?: number
max_write_request_operation_count?: <<_integer, integer>>
max_write_request_size?: <<ByteSize>>
}

Expand Down
10 changes: 5 additions & 5 deletions docs/reference-ccr-resume_follow.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,14 @@ Resumes a follower index that has been paused
++++
interface CcrResumeFollowRequest extends <<RequestBase>> {
index: <<IndexName>>
max_outstanding_read_requests?: number
max_outstanding_write_requests?: number
max_read_request_operation_count?: number
max_outstanding_read_requests?: <<_long, long>>
max_outstanding_write_requests?: <<_long, long>>
max_read_request_operation_count?: <<_long, long>>
max_read_request_size?: string
max_retry_delay?: <<Duration>>
max_write_buffer_count?: number
max_write_buffer_count?: <<_long, long>>
max_write_buffer_size?: string
max_write_request_operation_count?: number
max_write_request_operation_count?: <<_long, long>>
max_write_request_size?: string
read_poll_timeout?: <<Duration>>
}
Expand Down
2 changes: 1 addition & 1 deletion docs/reference-clear_scroll.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ interface ClearScrollRequest extends <<RequestBase>> {
++++
interface ClearScrollResponse {
succeeded: boolean
num_freed: number
num_freed: <<_integer, integer>>
}

[pass]
Expand Down
2 changes: 1 addition & 1 deletion docs/reference-close_point_in_time.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ interface ClosePointInTimeRequest extends <<RequestBase>> {
++++
interface ClosePointInTimeResponse {
succeeded: boolean
num_freed: number
num_freed: <<_integer, integer>>
}

[pass]
Expand Down
4 changes: 2 additions & 2 deletions docs/reference-cluster-allocation_explain.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ interface ClusterAllocationExplainRequest extends <<RequestBase>> {
current_node?: string
index?: <<IndexName>>
primary?: boolean
shard?: number
shard?: <<_integer, integer>>
}

[pass]
Expand Down Expand Up @@ -90,7 +90,7 @@ interface ClusterAllocationExplainResponse {
rebalance_explanation?: string
remaining_delay?: <<Duration>>
remaining_delay_in_millis?: <<DurationValue>><<<UnitMillis>>>
shard: number
shard: <<_integer, integer>>
unassigned_info?: ClusterAllocationExplainUnassignedInformation
note?: string
}
Expand Down
2 changes: 1 addition & 1 deletion docs/reference-cluster-health.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ interface ClusterHealthRequest extends <<RequestBase>> {
timeout?: <<Duration>>
wait_for_active_shards?: <<WaitForActiveShards>>
wait_for_events?: <<WaitForEvents>>
wait_for_nodes?: string | number
wait_for_nodes?: string | <<_integer, integer>>
wait_for_no_initializing_shards?: boolean
wait_for_no_relocating_shards?: boolean
wait_for_status?: <<HealthStatus>>
Expand Down
6 changes: 3 additions & 3 deletions docs/reference-connector-list.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ Get all connectors. Get information about all connectors.
<pre>
++++
interface ConnectorListRequest extends <<RequestBase>> {
from?: number
size?: number
from?: <<_integer, integer>>
size?: <<_integer, integer>>
index_name?: <<Indices>>
connector_name?: <<Names>>
service_type?: <<Names>>
Expand All @@ -68,7 +68,7 @@ interface ConnectorListRequest extends <<RequestBase>> {
<pre>
++++
interface ConnectorListResponse {
count: number
count: <<_long, long>>
results: ConnectorConnector[]
}

Expand Down
6 changes: 3 additions & 3 deletions docs/reference-connector-sync_job_list.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ Get all connector sync jobs. Get information about all stored connector sync job
<pre>
++++
interface ConnectorSyncJobListRequest extends <<RequestBase>> {
from?: number
size?: number
from?: <<_integer, integer>>
size?: <<_integer, integer>>
status?: ConnectorSyncStatus
connector_id?: <<Id>>
job_type?: ConnectorSyncJobType | ConnectorSyncJobType[]
Expand All @@ -67,7 +67,7 @@ interface ConnectorSyncJobListRequest extends <<RequestBase>> {
<pre>
++++
interface ConnectorSyncJobListResponse {
count: number
count: <<_long, long>>
results: ConnectorConnectorSyncJob[]
}

Expand Down
6 changes: 3 additions & 3 deletions docs/reference-count.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,10 @@ interface CountRequest extends <<RequestBase>> {
ignore_throttled?: boolean
ignore_unavailable?: boolean
lenient?: boolean
min_score?: number
min_score?: <<_double, double>>
preference?: string
routing?: <<Routing>>
terminate_after?: number
terminate_after?: <<_long, long>>
q?: string
query?: QueryDslQueryContainer
}
Expand All @@ -78,7 +78,7 @@ interface CountRequest extends <<RequestBase>> {
<pre>
++++
interface CountResponse {
count: number
count: <<_long, long>>
_shards: <<ShardStatistics>>
}

Expand Down
2 changes: 1 addition & 1 deletion docs/reference-delete.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ Delete a document. Removes a JSON document from the specified index.
interface DeleteRequest extends <<RequestBase>> {
id: <<Id>>
index: <<IndexName>>
if_primary_term?: number
if_primary_term?: <<_long, long>>
if_seq_no?: <<SequenceNumber>>
refresh?: <<Refresh>>
routing?: <<Routing>>
Expand Down
24 changes: 12 additions & 12 deletions docs/reference-delete_by_query.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -56,28 +56,28 @@ interface DeleteByQueryRequest extends <<RequestBase>> {
default_operator?: QueryDslOperator
df?: string
expand_wildcards?: <<ExpandWildcards>>
from?: number
from?: <<_long, long>>
ignore_unavailable?: boolean
lenient?: boolean
preference?: string
refresh?: boolean
request_cache?: boolean
requests_per_second?: number
requests_per_second?: <<_float, float>>
routing?: <<Routing>>
q?: string
scroll?: <<Duration>>
scroll_size?: number
scroll_size?: <<_long, long>>
search_timeout?: <<Duration>>
search_type?: <<SearchType>>
slices?: <<Slices>>
sort?: string[]
stats?: string[]
terminate_after?: number
terminate_after?: <<_long, long>>
timeout?: <<Duration>>
version?: boolean
wait_for_active_shards?: <<WaitForActiveShards>>
wait_for_completion?: boolean
max_docs?: number
max_docs?: <<_long, long>>
query?: QueryDslQueryContainer
slice?: <<SlicedScroll>>
}
Expand All @@ -94,22 +94,22 @@ interface DeleteByQueryRequest extends <<RequestBase>> {
<pre>
++++
interface DeleteByQueryResponse {
batches?: number
deleted?: number
batches?: <<_long, long>>
deleted?: <<_long, long>>
failures?: <<BulkIndexByScrollFailure>>[]
noops?: number
requests_per_second?: number
noops?: <<_long, long>>
requests_per_second?: <<_float, float>>
retries?: <<Retries>>
slice_id?: number
slice_id?: <<_integer, integer>>
task?: <<TaskId>>
throttled?: <<Duration>>
throttled_millis?: <<DurationValue>><<<UnitMillis>>>
throttled_until?: <<Duration>>
throttled_until_millis?: <<DurationValue>><<<UnitMillis>>>
timed_out?: boolean
took?: <<DurationValue>><<<UnitMillis>>>
total?: number
version_conflicts?: number
total?: <<_long, long>>
version_conflicts?: <<_long, long>>
}

[pass]
Expand Down
2 changes: 1 addition & 1 deletion docs/reference-delete_by_query_rethrottle.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Throttle a delete by query operation. Change the number of requests per second f
++++
interface DeleteByQueryRethrottleRequest extends <<RequestBase>> {
task_id: <<TaskId>>
requests_per_second?: number
requests_per_second?: <<_float, float>>
}

[pass]
Expand Down
2 changes: 1 addition & 1 deletion docs/reference-eql-get_status.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ interface EqlGetStatusResponse {
is_running: boolean
start_time_in_millis?: <<EpochTime>><<<UnitMillis>>>
expiration_time_in_millis?: <<EpochTime>><<<UnitMillis>>>
completion_status?: number
completion_status?: <<_integer, integer>>
}

[pass]
Expand Down
4 changes: 2 additions & 2 deletions docs/reference-eql-search.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,12 @@ interface EqlSearchRequest extends <<RequestBase>> {
event_category_field?: <<Field>>
tiebreaker_field?: <<Field>>
timestamp_field?: <<Field>>
fetch_size?: number
fetch_size?: <<_uint, uint>>
filter?: QueryDslQueryContainer | QueryDslQueryContainer[]
keep_alive?: <<Duration>>
keep_on_completion?: boolean
wait_for_completion_timeout?: <<Duration>>
size?: number
size?: <<_uint, uint>>
fields?: QueryDslFieldAndFormat | <<Field>> | (QueryDslFieldAndFormat | <<Field>>)[]
result_position?: EqlSearchResultPosition
runtime_mappings?: MappingRuntimeFields
Expand Down
6 changes: 3 additions & 3 deletions docs/reference-fleet-msearch.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ interface FleetMsearchRequest extends <<RequestBase>> {
expand_wildcards?: <<ExpandWildcards>>
ignore_throttled?: boolean
ignore_unavailable?: boolean
max_concurrent_searches?: number
max_concurrent_shard_requests?: number
pre_filter_shard_size?: number
max_concurrent_searches?: <<_long, long>>
max_concurrent_shard_requests?: <<_long, long>>
pre_filter_shard_size?: <<_long, long>>
search_type?: <<SearchType>>
rest_total_hits_as_int?: boolean
typed_keys?: boolean
Expand Down
Loading

0 comments on commit df1a652

Please sign in to comment.