Skip to content

Commit c4fb915

Browse files
committed
Start of fixes for core/search
1 parent 613574f commit c4fb915

File tree

8 files changed

+108
-40
lines changed

8 files changed

+108
-40
lines changed

output/schema/schema.json

Lines changed: 80 additions & 31 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/typescript/types.ts

Lines changed: 5 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

specification/_global/field_caps/FieldCapabilitiesRequest.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export interface Request extends RequestBase {
5454
/**
5555
* Comma-separated list of fields to retrieve capabilities for. Wildcard (`*`) expressions are supported.
5656
*/
57-
fields: Fields
57+
fields?: Fields
5858
/**
5959
* If `true`, missing or closed indices are not included in the response.
6060
* @server_default false
@@ -75,6 +75,11 @@ export interface Request extends RequestBase {
7575
types?: string[]
7676
}
7777
body: {
78+
/**
79+
* List of fields to retrieve capabilities for. Wildcard (`*`) expressions are supported.
80+
* @since 8.5.0
81+
*/
82+
fields?: Fields
7883
/**
7984
* Allows to filter indices if the provided query rewrites to match_none on every shard.
8085
*/

specification/_global/search/_types/highlighting.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ import { Field, Fields } from '@_types/common'
2222
import { integer } from '@_types/Numeric'
2323
import { QueryContainer } from '@_types/query_dsl/abstractions'
2424
import { UserDefinedValue } from '@spec_utils/UserDefinedValue'
25+
import { Analyzer } from '@_types/analysis/analyzers'
2526

2627
export enum BoundaryScanner {
2728
chars = 0,
@@ -87,4 +88,5 @@ export enum HighlighterType {
8788
export class HighlightField extends HighlightBase {
8889
fragment_offset?: integer
8990
matched_fields?: Fields
91+
analyzer?: Analyzer
9092
}

0 commit comments

Comments
 (0)