Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Releases: opendistro-for-elasticsearch/k-NN

Version (1.13.0.0)

18 Feb 00:36
Compare
Choose a tag to compare

Compatible with Elasticsearch 7.10.2

Features

  • Support k-NN similarity functions in painless scripting (#281)
  • Add support for L1 distance in AKNN, custom scoring and painless scripting (#310)

Enhancements

  • Upgrade nmslib to 2.0.11 (#302)
  • Upgrade commons-beanutils (#297)

Bug Fixes

  • Fix find_path bug in CMakeLists (#280)
  • Add builder constructor that takes algo params (#289)

Infrastructure

  • Add arm64 support and correct the naming convention to the new standards (#299)
  • Run KNN integ tests with security plugin enabled (#304)
  • Update artifact naming (#309)
  • Change CD workflow to use new staging bucket for artifacts (#301)

Documentation

  • Add copyright header (#307)

Maintenance

  • Upgrade odfe version to 1.13.0 (#312)

Version (1.12.0.0)

06 Jan 23:23
fd32d2f
Compare
Choose a tag to compare

Compatible with Elasticsearch (7.10.0).

Features

  • Support for hamming bit distance in custom scoring (#267)

Maintenance

  • k-NN plugin support for Elasticsearch version 7.10.0 (#271)
  • Bump odfe version to 1.12 (#273)

Version (1.11.0.0)

28 Oct 20:09
924a131
Compare
Choose a tag to compare

Compatible with Elasticsearch (7.9.1).

  • 1.11 release notes (#253)

Features

  • Pre filter support through custom scoring (#196)

Enhancements

  • Add existsQuery method implementation to KNNVectorFieldType (#228)
  • Change "space" parameter to "space_type" for custom scoring (#232)
  • change space -> space_type (#234)
  • Add stats for custom scoring feature (#233)

Bug Fixes

  • KNN score fix for non knn documents (#231)
  • Fix script statistics flaky test case (#235)
  • Refactor KNNVectorFieldMapper (#240)
  • Fix PostingsFormat in KNN Codec (#236)
  • Change path warmup API uses to load graphs into cache (#256)

Infrastructure

  • Update ODFE version to 1.11.0.0 (#254)

Version 1.10.1.0

01 Oct 18:24
Compare
Choose a tag to compare

Version 1.10.1.0 Release Notes

Compatible with Elasticsearch 7.9.1

Features

  • Add Warmup API to load indices graphs into memory (#162)

Enhancements

  • Upgrade nmslib to v2.0.6 (#160)

Bug Fixes

  • Update guava version to 29.0 (#182)
  • Add default index settings when parsing index (#205)
  • NPE in force merge when non knn doc gets updated to knn doc across segments (#212)
  • Fix casting issue with cache expiration (#215)

Infrastructure

  • Reset state for uTs so tests run independently (#159)
  • Pass -march=x86-64 to build JNI library (#164)
  • Fix versioning for lib artifacts (#166)
  • Add release notes automation (#168)
  • Add Github action to build library artifacts (#170)
  • Flaky rest test case fix (#183)
  • Add code coverage widget and badges (#191)
  • Add Codecov configuration to set a coverage threshold to pass the check on a commit (#192)
  • Add AWS CLI in order to ship library artifacts from container (#194)
  • Remove sudo from "./aws install" in library build action (#202)
  • Fix download link in package description (#214)

Documentation

  • Performance tuning/Recommendations (#177)
  • Fix cluster setting example in README.md (#186)
  • Add scoring documentation (#193)
  • Add 1.10.0.0 release notes (#201)

Maintenance

  • ODFE 1.10 support for k-NN plugin (#199)
  • Upgrade Elasticsearch to 7.9.1 and ODFE to 1.10.1 (#217)

Refactoring

  • Update default variable settings name (#209)

Version 1.9.0.0

01 Jul 20:59
Compare
Choose a tag to compare

Version 1.9.0.0 (Version compatible with elasticsearch 7.8.0)

Features

  • Feature #147: ODFE 1.9 support for Elasticsearch version 7.8.0 (issue #146).

Enhancements

  • Enhancement #149: Remove/depricate shared library in buildSrc. (issue #148)
  • Enhancement #141: Modify artifact release Github action. (issue #140)
  • Enhancement #132: Add github action to build library artifacts. (issue #122)
  • Enhancement #126: Ability to dynamically update efSearch setting. (issue #116)
  • Enhancement #125: Fix test structure. (issue #124)
  • Enhancement #123: Build separate artifacts for library using CPack. (issue #122)

Bug Fixes

  • Bugfix #155: Bad recall from Lucene upgrade 8.5.1. (issue #154)
  • Bugfix #143: Add recursive option to zip. (issue #140)
  • Bugfix #138: CMake fails to use c++11 CMake 2.8. (issue #137)
  • Bugfix #134: Fix Jacoco coverage issue introduced in odfe 1.8. (issue #127)
  • Bugfix #130: Fixes parent directory in makeJniLib gradle task. (issue #137)
  • Bugfix #125: Flaky test cases caused by Counter Enum. (issue #124)

Version 1.8.0

19 May 23:03
42dd577
Compare
Choose a tag to compare

Version 1.8.0 (Version compatible with elasticsearch 7.7.0)

Features

  • Feature #115: ODFE 1.8 support for Elasticsearch version 7.7.0 (issue #113).

Enhancements

  • Enhancement #108: Block knn index writes if the Circuit breaker triggers. (issue #96)

Bug Fixes

  • None

Version 1.7.0

05 May 19:30
Compare
Choose a tag to compare

Version 1.7.0 (Version compatible with elasticsearch 7.6.1)

Features

  • Feature #90: Support cosine similarity (issue #28). Note this feature is experimental

Enhancements

  • Enhancement #89: Add stats to track the number of requests and errors for KNN query and index operations. (issue #88)
  • Enhancement #92: Switched the default value of the circuit breaker from 60% to 50%. (issue #82)
  • Enhancement #73: Create Github action that automatically runs integration tests against docker image whenever code is checked into master or opendistro branch. (issue #74)

Bug Fixes

  • Bugfix #100: Added validation in VectorFieldMapper to check for vector values of NaN and throwing an Exception if so. (issue #99)
  • Bugfix #78: Fix debugging integration tests (issue #77)

Version 1.6.0.0

01 Apr 00:51
efd493f
Compare
Choose a tag to compare

Features

  • Feature #76: Elasticsearch 7.6.1 compatibility (issue #71)
  • Feature #73: Add Github Actions so that changes are automatically tested and artifacts are uploaded to S3 (issue #74)

Enhancements

  • Enhancement #61: Convert integration tests from ESIntegTestCase to ESRestTestCase, so that they can be run on a remote cluster (issue #60)
  • Enhancement #54: Add check in gradle build for license headers (issue #7)
  • Enhancement #52: Lazily load efSearch parameter (issue #51)

Bug Fixes

  • Bugfix #66: Flaky failure in KNN80HnswIndexTests testFooter (issue #65)
  • Bugfix #63: Circuit Breaker fails to turn off (issue #62)
  • Bugfix #59: Gradle build failure on Mac due to library error (issue #58)
  • Bugfix #53: AccessControlException when HNSW library is loaded (issue #49)
  • Bugfix #47: Stats API failure in Transport Layer (issue #45)

Version 1.4.0.0

24 Jan 18:10
Compare
Choose a tag to compare

Features

Elasticsearch Compatibility

  • Feature #11 : Elasticsearch 7.4.2 compatibility

Documentation

  • Feature ( #40 , #37 ). Documentation on knn index creation, settings and stats

Enhancements

  • KNN Codec Backward Compatibility support #20

Bug Fixes

  • Avoid recreating space for each query [#29 ]
  • Fix a leak where FileWatchers are added but never removed [#36 ]
  • JNI clean up and race conditions [#25 ]
  • native memory leak in saveIndex and JVM leak [#14 ] [#15 ]

Note

For configuring native library for plugin installations from Archive, please refer to ReadME

Version 1.3.0.0

24 Jan 18:04
124351f
Compare
Choose a tag to compare

Notable changes

  • opendistro1.3 for KNN for ES 7.3.2
  • Performance improvement and bug fixes
    ** JNI Memory leak fixes
    ** Cache time out fix
    ** Doc values memory fix
    ** Other minor bugs
    ** Updated ReadMe
  • fixed memory leak in saveIndex
  • fixed issue jvm heap leak in JNI

Note:- For configuring native library for plugin installations from Archive, please refer to ReadME