Fixing the dimension for the vector when using Lucene field in ModelFieldMapper. To ensure that bug doesn't happen again I have added UTs for the same.
This bug is not in production as the feature is not launched. Hence I am also not adding any entry in changelog.
[X] Commits are signed per the DCO using --signoff.
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.
Description
Fixing the dimension for the vector when using Lucene field in ModelFieldMapper. To ensure that bug doesn't happen again I have added UTs for the same.
This bug is not in production as the feature is not launched. Hence I am also not adding any entry in changelog.
Issue
https://github.com/opensearch-project/k-NN/issues/1949
Check List
--signoff
.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.