Open ritty27 opened 1 month ago
Looks good to me, needs tests, documentation, samples, etc.
Take a look at https://github.com/opensearch-project/opensearch-api-specification too. I think we want to derive a lot of this code from spec (@Xtansia is working on a generator #366).
Description
This PR Partial resolution https://github.com/opensearch-project/opensearch-java/issues/987 There are several types of Similarity, so I only made some of the representative ones (BM25, Boolean). Therefore, the code does not implement all similarity(DFI, DFR, IB etc.). If the this commit is okay, I will try to implement other types similarly.
Issues Resolved
987
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. For more information on following Developer Certificate of Origin and signing off your commits, please check here.