Use section headers for shared types

This commit is contained in:
Josh Mock
2024-11-19 12:23:01 -06:00
parent 6151aab208
commit ab21735b57
469 changed files with 2639 additions and 2850 deletions

View File

@ -45,39 +45,39 @@ Delete documents. Deletes documents that match the specified query.
[source,ts]
----
interface DeleteByQueryRequest extends <<shared-type-request-base, RequestBase>> {
index: <<shared-type-indices, Indices>>
interface DeleteByQueryRequest extends <<RequestBase>> {
index: <<Indices>>
allow_no_indices?: boolean
analyzer?: string
analyze_wildcard?: boolean
conflicts?: <<shared-type-conflicts, Conflicts>>
conflicts?: <<Conflicts>>
default_operator?: QueryDslOperator
df?: string
expand_wildcards?: <<shared-type-expand-wildcards, ExpandWildcards>>
from?: <<shared-type-long, long>>
expand_wildcards?: <<ExpandWildcards>>
from?: <<long>>
ignore_unavailable?: boolean
lenient?: boolean
preference?: string
refresh?: boolean
request_cache?: boolean
requests_per_second?: <<shared-type-float, float>>
routing?: <<shared-type-routing, Routing>>
requests_per_second?: <<float>>
routing?: <<Routing>>
q?: string
scroll?: <<shared-type-duration, Duration>>
scroll_size?: <<shared-type-long, long>>
search_timeout?: <<shared-type-duration, Duration>>
search_type?: <<shared-type-search-type, SearchType>>
slices?: <<shared-type-slices, Slices>>
scroll?: <<Duration>>
scroll_size?: <<long>>
search_timeout?: <<Duration>>
search_type?: <<SearchType>>
slices?: <<Slices>>
sort?: string[]
stats?: string[]
terminate_after?: <<shared-type-long, long>>
timeout?: <<shared-type-duration, Duration>>
terminate_after?: <<long>>
timeout?: <<Duration>>
version?: boolean
wait_for_active_shards?: <<shared-type-wait-for-active-shards, WaitForActiveShards>>
wait_for_active_shards?: <<WaitForActiveShards>>
wait_for_completion?: boolean
max_docs?: <<shared-type-long, long>>
max_docs?: <<long>>
query?: QueryDslQueryContainer
slice?: <<shared-type-sliced-scroll, SlicedScroll>>
slice?: <<SlicedScroll>>
}
----
@ -87,22 +87,22 @@ interface DeleteByQueryRequest extends <<shared-type-request-base, RequestBase>>
[source,ts]
----
interface DeleteByQueryResponse {
batches?: <<shared-type-long, long>>
deleted?: <<shared-type-long, long>>
failures?: <<shared-type-bulk-index-by-scroll-failure, BulkIndexByScrollFailure>>[]
noops?: <<shared-type-long, long>>
requests_per_second?: <<shared-type-float, float>>
retries?: <<shared-type-retries, Retries>>
slice_id?: <<shared-type-integer, integer>>
task?: <<shared-type-task-id, TaskId>>
throttled?: <<shared-type-duration, Duration>>
throttled_millis?: <<shared-type-duration-value, DurationValue>><<<shared-type-unit-millis, UnitMillis>>>
throttled_until?: <<shared-type-duration, Duration>>
throttled_until_millis?: <<shared-type-duration-value, DurationValue>><<<shared-type-unit-millis, UnitMillis>>>
batches?: <<long>>
deleted?: <<long>>
failures?: <<BulkIndexByScrollFailure>>[]
noops?: <<long>>
requests_per_second?: <<float>>
retries?: <<Retries>>
slice_id?: <<integer>>
task?: <<TaskId>>
throttled?: <<Duration>>
throttled_millis?: <<DurationValue>><<<UnitMillis>>>
throttled_until?: <<Duration>>
throttled_until_millis?: <<DurationValue>><<<UnitMillis>>>
timed_out?: boolean
took?: <<shared-type-duration-value, DurationValue>><<<shared-type-unit-millis, UnitMillis>>>
total?: <<shared-type-long, long>>
version_conflicts?: <<shared-type-long, long>>
took?: <<DurationValue>><<<UnitMillis>>>
total?: <<long>>
version_conflicts?: <<long>>
}
----