Skip to content

Commit

Permalink
modifying check in hybrid search
Browse files Browse the repository at this point in the history
Signed-off-by: Varun Jain <[email protected]>
  • Loading branch information
vibrantvarun committed Jan 8, 2024
1 parent be567db commit 8ec2ba8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,9 @@ private void validateTestIndex(String modelId) throws Exception {
1,
Map.of("search_pipeline", SEARCH_PIPELINE_NAME)
);
assertNotNull(searchResponseAsMap);
int hits = getHitCount(searchResponseAsMap);
assertEquals(1, hits);
assertNotNull(searchResponseAsMap);
}

public HybridQueryBuilder getQueryBuilder(String modelId) {
Expand Down

0 comments on commit 8ec2ba8

Please sign in to comment.