Skip to content

Commit

Permalink
Address review
Browse files Browse the repository at this point in the history
  • Loading branch information
pquentin committed Apr 9, 2024
1 parent ca07616 commit 8fb436a
Show file tree
Hide file tree
Showing 5 changed files with 57 additions and 80 deletions.
86 changes: 42 additions & 44 deletions output/openapi/elasticsearch-serverless-openapi.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

40 changes: 10 additions & 30 deletions output/schema/schema.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions output/schema/validation-errors.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 2 additions & 4 deletions output/typescript/types.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions specification/_types/Knn.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

import { Field } from '@_types/common'
import { long, float } from '@_types/Numeric'
import { QueryContainer } from './query_dsl/abstractions'
import { QueryBase, QueryContainer } from './query_dsl/abstractions'
import { InnerHits } from '@global/search/_types/hits'

export type QueryVector = float[]
Expand Down Expand Up @@ -51,7 +51,7 @@ export interface KnnSearch {
inner_hits?: InnerHits
}

export class KnnQuery extends QueryBase {
export interface KnnQuery extends QueryBase {
/** The name of the vector field to search against */
field: Field
/** The query vector */
Expand Down

0 comments on commit 8fb436a

Please sign in to comment.