opensearch-project / search-processor

Search Request Processor: pipeline for transformation of queries and results inline with a search request.
Apache License 2.0
22 stars 24 forks source link

[Backport][2.x]Add ignoreFailure and pipelineContext (#152) #158

Closed mingshl closed 1 year ago

mingshl commented 1 year ago

Backport https://github.com/opensearch-project/search-processor/pull/152

Signed-off-by: Mingshi Liu mingshl@amazon.com


Signed-off-by: Mingshi Liu mingshl@amazon.com (cherry picked from commit c15274e83c425197b3cfdcf9f5c487d37d9f733b)

Check List

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.

codecov[bot] commented 1 year ago

Codecov Report

Merging #158 (d49b2c1) into 2.x (147e19c) will increase coverage by 0.71%. The diff coverage is 92.30%.

@@             Coverage Diff              @@
##                2.x     #158      +/-   ##
============================================
+ Coverage     82.62%   83.33%   +0.71%     
- Complexity      311      321      +10     
============================================
  Files            41       41              
  Lines          1197     1236      +39     
  Branches        147      152       +5     
============================================
+ Hits            989     1030      +41     
+ Misses          131      130       -1     
+ Partials         77       76       -1     
Impacted Files Coverage Δ
...search/search/relevance/SearchRelevancePlugin.java 0.00% <ø> (ø)
...ch/relevance/configuration/ConfigurationUtils.java 66.66% <62.50%> (ø)
...ng/reranker/impl/AmazonPersonalizedRankerImpl.java 93.25% <97.50%> (+9.25%) :arrow_up:
...nking/pipeline/KendraRankingResponseProcessor.java 89.79% <100.00%> (ø)
...ntranking/PersonalizeRankingResponseProcessor.java 100.00% <100.00%> (ø)