Skip to content

Commit

Permalink
Fix: typo for sparse encoding processor factory (opensearch-project#578)
Browse files Browse the repository at this point in the history
* typo fix for sparse encoding processor factory
---------

Signed-off-by: yuye-aws <[email protected]>
  • Loading branch information
yuye-aws authored Feb 8, 2024
1 parent d0f8559 commit 9acad2e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
- Fix async actions are left in neural_sparse query ([#438](https://github.com/opensearch-project/neural-search/pull/438))
- Fixed exception for case when Hybrid query being wrapped into bool query ([#490](https://github.com/opensearch-project/neural-search/pull/490))
- Hybrid query and nested type fields ([#498](https://github.com/opensearch-project/neural-search/pull/498))
- Fix typo for sparse encoding processor factory([#578](https://github.com/opensearch-project/neural-search/pull/578))
### Infrastructure
### Documentation
### Maintenance
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ public SparseEncodingProcessor create(
Map<String, Object> config
) throws Exception {
String modelId = readStringProperty(TYPE, processorTag, config, MODEL_ID_FIELD);
Map<String, Object> filedMap = readMap(TYPE, processorTag, config, FIELD_MAP_FIELD);
Map<String, Object> fieldMap = readMap(TYPE, processorTag, config, FIELD_MAP_FIELD);

return new SparseEncodingProcessor(processorTag, description, modelId, filedMap, clientAccessor, environment);
return new SparseEncodingProcessor(processorTag, description, modelId, fieldMap, clientAccessor, environment);
}
}

0 comments on commit 9acad2e

Please sign in to comment.