Skip to content

Commit

Permalink
knn already inherits boost field
Browse files Browse the repository at this point in the history
  • Loading branch information
l-trotta committed Apr 15, 2024
1 parent 792195a commit e269c39
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 23 deletions.
4 changes: 0 additions & 4 deletions output/openapi/elasticsearch-serverless-openapi.json

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

18 changes: 3 additions & 15 deletions output/schema/schema.json

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

1 change: 0 additions & 1 deletion output/schema/validation-errors.json

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

1 change: 0 additions & 1 deletion output/typescript/types.ts

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

2 changes: 0 additions & 2 deletions specification/_types/Knn.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,6 @@ export interface KnnQuery extends QueryBase {
query_vector_builder?: QueryVectorBuilder
/** The number of nearest neighbor candidates to consider per shard */
num_candidates?: long
/** Boost value to apply to kNN scores */
boost?: float
/** Filters for the kNN search query */
filter?: QueryContainer | QueryContainer[]
/** The minimum similarity for a vector to be considered a match */
Expand Down

0 comments on commit e269c39

Please sign in to comment.