Skip to content

Commit d9e586b

Browse files
mridula-s109Copilot
andcommitted
Add l2_norm normalization support to linear retriever (elastic#128504)
* New l2 normalizer added * L2 score normaliser is registered * test case added to the yaml * Documentation added * Resolved checkstyle issues * Update docs/changelog/128504.yaml * Update docs/reference/elasticsearch/rest-apis/retrievers.md Co-authored-by: Copilot <[email protected]> * Score 0 test case added to check for corner cases * Edited the markdown doc description * Pruned the comment * Renamed the variable * Added comment to the class * Unit tests added * Spotless and checkstyle fixed * Fixed build failure * Fixed the forbidden test --------- Co-authored-by: Copilot <[email protected]>
1 parent 5fe2a6c commit d9e586b

File tree

6 files changed

+1163
-0
lines changed

6 files changed

+1163
-0
lines changed

docs/changelog/128504.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
pr: 128504
2+
summary: Add l2_norm normalization support to linear retriever
3+
area: Relevance
4+
type: enhancement
5+
issues: []

0 commit comments

Comments
 (0)