Skip to content

Commit

Permalink
add changelog
Browse files Browse the repository at this point in the history
Signed-off-by: panguixin <[email protected]>
  • Loading branch information
bugmakerrrrrr committed May 10, 2024
1 parent 33620b8 commit 1c6c395
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 @@ -15,6 +15,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
## [Unreleased 2.x](https://github.com/opensearch-project/k-NN/compare/2.14...2.x)
### Features
### Enhancements
* Support script score when doc value is disabled and fix misusing DISI [#1696](https://github.com/opensearch-project/k-NN/pull/1696)
### Bug Fixes
* Block commas in model description [#1692](https://github.com/opensearch-project/k-NN/pull/1692)
### Infrastructure
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -644,7 +644,7 @@ private Map<String, KNNResult> createDataset(
final Map<String, KNNResult> dataset = new HashMap<>(dense ? numDocsWithField : numDocsWithField * 3);
int id = 0;
for (int i = 0; i < numDocsWithField; i++) {
final int dummyDocs = dense ? 0 : randomIntBetween(1, 5);
final int dummyDocs = dense ? 0 : randomIntBetween(2, 5);
for (int j = 0; j < dummyDocs; j++) {
dataset.put(Integer.toString(id++), null);
}
Expand Down

0 comments on commit 1c6c395

Please sign in to comment.