Skip to content

Commit

Permalink
Update TextEmbeddingProcessor.java (#1127) (#1215)
Browse files Browse the repository at this point in the history
* Update TextEmbeddingProcessor.java

change type



* Add changelog entry



---------




(cherry picked from commit 28e8b89)

Signed-off-by: leeeeeeeeeeehc <ehc0825@naver.com>
Signed-off-by: Thomas Farr <tsfarr@amazon.com>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Thomas Farr <tsfarr@amazon.com>
  • Loading branch information
3 people authored Sep 30, 2024
1 parent 4c1d6c1 commit 5b90fb3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
### 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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public static TextEmbeddingProcessor of(Function<Builder, ObjectBuilder<TextEmbe
*/
@Override
public Processor.Kind _processorKind() {
return Processor.Kind.Inference;
return Processor.Kind.TextEmbedding;
}

/**
Expand Down

0 comments on commit 5b90fb3

Please sign in to comment.