Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: opensearch-project/neural-search
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: e44bd6afcb85bfaa0885d074c22d1ef282bede26
Choose a base ref
..
head repository: opensearch-project/neural-search
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 1fac0aa8d4f214d39a4063a45eceae31079a0665
Choose a head ref
Showing with 6 additions and 2 deletions.
  1. +6 −2 qa/rolling-upgrade/src/test/java/org/opensearch/neuralsearch/bwc/HybridSearchIT.java
Original file line number Diff line number Diff line change
@@ -97,8 +97,12 @@ public void testNormalizationProcessor_whenIndexWithMultipleShards_E2EFlow() thr
}
}

private void validateTestIndexOnUpgrade(final int numberOfDocs, final String modelId, HybridQueryBuilder hybridQueryBuilder, QueryBuilder rescorer)
throws Exception {
private void validateTestIndexOnUpgrade(
final int numberOfDocs,
final String modelId,
HybridQueryBuilder hybridQueryBuilder,
QueryBuilder rescorer
) throws Exception {
int docCount = getDocCount(getIndexNameForTest());
assertEquals(numberOfDocs, docCount);
loadModel(modelId);