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] Split repository into separate plugins #192

Closed opensearch-trigger-bot[bot] closed 1 year ago

opensearch-trigger-bot[bot] commented 1 year ago

Backport eb77879e694ca609929b0c1098620a6ebea4afda from #191

codecov[bot] commented 1 year ago

Codecov Report

Merging #192 (693530f) into 2.x (3050a3c) will decrease coverage by 0.14%. The diff coverage is 0.00%.

@@             Coverage Diff              @@
##                2.x     #192      +/-   ##
============================================
- Coverage     83.39%   83.26%   -0.14%     
  Complexity      334      334              
============================================
  Files            42       43       +1     
  Lines          1259     1261       +2     
  Branches        154      154              
============================================
  Hits           1050     1050              
- Misses          132      134       +2     
  Partials         77       77              
Files Changed Coverage Δ
...elevance/AmazonKendraIntelligentRankingPlugin.java 0.00% <0.00%> (ø)
...rch/relevance/actionfilter/SearchActionFilter.java 85.45% <ø> (ø)
...arch/search/relevance/client/OpenSearchClient.java 80.00% <ø> (ø)
...ch/relevance/configuration/ConfigurationUtils.java 66.66% <ø> (ø)
...arch/search/relevance/configuration/Constants.java 80.00% <ø> (ø)
.../configuration/ResultTransformerConfiguration.java 100.00% <ø> (ø)
...e/configuration/SearchConfigurationExtBuilder.java 67.64% <ø> (ø)
...evance/configuration/TransformerConfiguration.java 100.00% <ø> (ø)
.../search/relevance/transformer/TransformerType.java 100.00% <ø> (ø)
...draintelligentranking/KendraIntelligentRanker.java 78.09% <ø> (ø)
... and 33 more
noCharger commented 1 year ago

Merge this PR since https://github.com/opensearch-project/search-processor/pull/192/commits/693530ffd9d03cddf0acab5a6029021c61ee738c makes sense and it's an backport PR

opensearch-trigger-bot[bot] commented 1 year ago

The backport to 2.9 failed:

The process '/usr/bin/git' failed with exit code 1

To backport manually, run these commands in your terminal:

# Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-2.9 2.9
# Navigate to the new working tree
cd .worktrees/backport-2.9
# Create a new branch
git switch --create backport/backport-192-to-2.9
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 182937d3ee4702a8368f68d42fcee3c4cc0ece92
# Push it to GitHub
git push --set-upstream origin backport/backport-192-to-2.9
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-2.9

Then, create a pull request where the base branch is 2.9 and the compare/head branch is backport/backport-192-to-2.9.