From 28e8b89030b18f88c4007845c85624af6e276de7 Mon Sep 17 00:00:00 2001 From: leeeeeeeeeeehc Date: Tue, 1 Oct 2024 08:49:37 +0900 Subject: [PATCH] Update TextEmbeddingProcessor.java (#1127) * Update TextEmbeddingProcessor.java change type Signed-off-by: leeeeeeeeeeehc * Add changelog entry Signed-off-by: Thomas Farr --------- Signed-off-by: leeeeeeeeeeehc Signed-off-by: Thomas Farr Co-authored-by: Thomas Farr --- CHANGELOG.md | 1 + .../client/opensearch/ingest/TextEmbeddingProcessor.java | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7b86918528..4d0512de31 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -55,6 +55,7 @@ This section is for maintaining a changelog for all breaking changes for the cli ### Fixed - Fix queries not preserving boost and name when converted to builders ([#1181](https://github.com/opensearch-project/opensearch-java/pull/1181)) - Remove required check on ShardStats.shards ([#1177](https://github.com/opensearch-project/opensearch-java/pull/1177)) +- Fixed `TextEmbeddingProcessor` returning the wrong processor kind ([#1127](https://github.com/opensearch-project/opensearch-java/pull/1127)) ### Security diff --git a/java-client/src/main/java/org/opensearch/client/opensearch/ingest/TextEmbeddingProcessor.java b/java-client/src/main/java/org/opensearch/client/opensearch/ingest/TextEmbeddingProcessor.java index 09a114cdeb..0f610a8cd4 100644 --- a/java-client/src/main/java/org/opensearch/client/opensearch/ingest/TextEmbeddingProcessor.java +++ b/java-client/src/main/java/org/opensearch/client/opensearch/ingest/TextEmbeddingProcessor.java @@ -51,7 +51,7 @@ public static TextEmbeddingProcessor of(Function