Skip to content

Commit

Permalink
Fix FilterQueryRequestProcessor to use correct query type (#821)
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Farr <tsfarr@amazon.com>
  • Loading branch information
Xtansia authored Feb 20, 2025
1 parent 60a9b3b commit 1aaf42b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 74 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,8 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
- Fixed core API schemas ([#777](https://github.com/opensearch-project/opensearch-api-specification/pull/777))
- Fixed Memory Circuit Breaker flaky error in ML APIs ([#788](https://github.com/opensearch-project/opensearch-api-specification/pull/788))
- Fixed GeoDistanceSort schema ([#805](https://github.com/opensearch-project/opensearch-api-specification/pull/805))
- Fixed Aggregation schemas([#801](https://github.com/opensearch-project/opensearch-api-specification/pull/801))
- Fixed Aggregation schemas ([#801](https://github.com/opensearch-project/opensearch-api-specification/pull/801))
- Fixed FilterQueryRequestProcessor to use correct query type ([#821](https://github.com/opensearch-project/opensearch-api-specification/pull/821))

### Changed
- Changed `tasks._common:TaskInfo` and `tasks._common:TaskGroup` to be composed of a `tasks._common:TaskInfoBase` ([#683](https://github.com/opensearch-project/opensearch-api-specification/pull/683))
Expand Down
74 changes: 1 addition & 73 deletions spec/schemas/search_pipeline._common.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,79 +68,7 @@ components:
ignore_failure:
type: boolean
query:
$ref: '#/components/schemas/UserDefinedObjectStructure'
UserDefinedObjectStructure:
type: object
properties:
bool: {}
boosting: {}
combined_fields: {}
constant_score: {}
dis_max: {}
distance_feature: {}
exists: {}
function_score: {}
fuzzy:
$ref: '#/components/schemas/UserDefinedValueMap'
geo_bounding_box: {}
geo_distance: {}
geo_polygon: {}
geo_shape: {}
has_child: {}
has_parent: {}
ids: {}
intervals:
$ref: '#/components/schemas/UserDefinedValueMap'
knn: {}
match:
$ref: '#/components/schemas/UserDefinedValueMap'
match_all: {}
match_bool_prefix:
$ref: '#/components/schemas/UserDefinedValueMap'
match_none: {}
match_phrase:
$ref: '#/components/schemas/UserDefinedValueMap'
match_phrase_prefix:
$ref: '#/components/schemas/UserDefinedValueMap'
more_like_this: {}
multi_match: {}
nested: {}
parent_id: {}
percolate: {}
pinned: {}
prefix:
$ref: '#/components/schemas/UserDefinedValueMap'
query_string: {}
range:
$ref: '#/components/schemas/UserDefinedValueMap'
rank_feature: {}
regexp:
$ref: '#/components/schemas/UserDefinedValueMap'
script: {}
script_score: {}
shape: {}
simple_query_string: {}
span_containing: {}
field_masking_span: {}
span_first: {}
span_multi: {}
span_near: {}
span_not: {}
span_or: {}
span_term:
$ref: '#/components/schemas/UserDefinedValueMap'
span_within: {}
term:
$ref: '#/components/schemas/UserDefinedValueMap'
terms: {}
terms_set:
$ref: '#/components/schemas/UserDefinedValueMap'
wildcard:
$ref: '#/components/schemas/UserDefinedValueMap'
wrapper: {}
UserDefinedValueMap:
type: object
additionalProperties: {}
$ref: '_common.query_dsl.yaml#/components/schemas/QueryContainer'
NeuralQueryEnricherRequestProcessor:
type: object
properties:
Expand Down

0 comments on commit 1aaf42b

Please sign in to comment.