Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
- Added `agentic` query type, `agentic_query_translator` request processor, and `agentic_context` response processor ([#1073](https://github.com/opensearch-project/opensearch-api-specification/pull/1073))
- Added `allow_no_indices`, `ignore_unavailable`, and `ignore_throttled` query parameters to `create_pit` ([#1141](https://github.com/opensearch-project/opensearch-api-specification/pull/1141))
- Added `query` to TermsLookup to support terms lookup by query
- Added `mapper_type` and `mapper_settings` to `IngestionSource` index settings ([#1155](https://github.com/opensearch-project/opensearch-api-specification/pull/1155))

### Deprecated
- Marked the plural `_aliases` URL forms of `put_alias` and `delete_alias` as deprecated; the singular `_alias` form is the canonical path ([#1131](https://github.com/opensearch-project/opensearch-api-specification/pull/1131))
Expand Down
14 changes: 14 additions & 0 deletions spec/schemas/indices._common.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,13 @@ components:
- kafka
- kinesis
- none
IngestionSourceMapperType:

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

type: string
description: The type of message mapper used to extract document fields from ingestion messages.
enum:
- default
- field_mapping
- raw_payload
IngestionSource:
type: object
description: The pull-based ingestion settings controlling how data is read from streaming sources.
Expand Down Expand Up @@ -213,6 +220,13 @@ components:
all_active:
description: Indicates if all-active ingestion is enabled for this index.
$ref: '_common.yaml#/components/schemas/StringifiedBoolean'
mapper_type:
description: The type of message mapper used to extract document fields from ingestion messages.
$ref: '#/components/schemas/IngestionSourceMapperType'
mapper_settings:
type: object
description: Configuration settings for the selected mapper type. For `field_mapping`, supports `id_field`, `version_field`, `op_type_field`, `op_type_field.delete_value`, and `op_type_field.create_value`.
additionalProperties: true
IngestionSourcePointer:
type: object
properties:
Expand Down
Loading