Skip to content

Commit

Permalink
Remove mistakenly added code from HybridSearchIT. (opensearch-project…
Browse files Browse the repository at this point in the history
…#1032)

Signed-off-by: Bo Zhang <[email protected]>
  • Loading branch information
bzhangam authored and zhichao-aws committed Jan 6, 2025
1 parent 8fc5319 commit b042943
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -132,9 +132,6 @@ private HybridQueryBuilder getQueryBuilder(
if (expandNestedDocs != null) {
neuralQueryBuilder.expandNested(expandNestedDocs);
}
if (isClusterOnOrAfterMinReqVersion(EXPAND_NESTED_FIELD.getPreferredName()) && expandNestedDocs != null) {
neuralQueryBuilder.expandNested(expandNestedDocs);
}
if (methodParameters != null) {
neuralQueryBuilder.methodParameters(methodParameters);
}
Expand Down

0 comments on commit b042943

Please sign in to comment.