opendistro-for-elasticsearch / k-NN

🆕 A machine learning plugin which supports an approximate k-NN search algorithm for Open Distro.
https://opendistro.github.io/
Apache License 2.0
277 stars 55 forks source link

Add builder constructor that takes algo params #294

Closed jmazanec15 closed 3 years ago

jmazanec15 commented 3 years ago

Issue #, if available:

288

Description of changes: Backport mapper merge fix to odfe-1.10

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

codecov[bot] commented 3 years ago

Codecov Report

Merging #294 (77077bc) into opendistro-1.10 (2edd0a8) will increase coverage by 0.18%. The diff coverage is 100.00%.

Impacted file tree graph

@@                  Coverage Diff                  @@
##             opendistro-1.10     #294      +/-   ##
=====================================================
+ Coverage              77.70%   77.88%   +0.18%     
  Complexity               310      310              
=====================================================
  Files                     50       50              
  Lines                   1193     1203      +10     
  Branches                 100      103       +3     
=====================================================
+ Hits                     927      937      +10     
  Misses                   222      222              
  Partials                  44       44              
Impacted Files Coverage Δ Complexity Δ
...relasticsearch/knn/index/KNNVectorFieldMapper.java 79.43% <100.00%> (+1.57%) 15.00 <1.00> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 2edd0a8...77077bc. Read the comment docs.