You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[3.0] Update neural-search for OpenSearch 3.0 compatibility (#1141)
* Make java compile task pass for main code and tests
Signed-off-by: Martin Gaievski <gaievski@amazon.com>
* Adopting change in client class package name
Signed-off-by: Martin Gaievski <gaievski@amazon.com>
* Fixed unit tests
Signed-off-by: Martin Gaievski <gaievski@amazon.com>
* Fixed integ tests for: hq explain
Signed-off-by: Martin Gaievski <gaievski@amazon.com>
* Fixed wrapped bool queries for latest core, fixed failing tests
Signed-off-by: Martin Gaievski <gaievski@amazon.com>
* Adjust bwc versions after 2.19 release
Signed-off-by: Martin Gaievski <gaievski@amazon.com>
* Reverting back the secure testing flag, refactor BWC tests
Signed-off-by: Martin Gaievski <gaievski@amazon.com>
* Multiple minor changes: drop precommit for win CI, refator BWC, added changelog
Signed-off-by: Martin Gaievski <gaievski@amazon.com>
---------
Signed-off-by: Martin Gaievski <gaievski@amazon.com>
Copy file name to clipboardexpand all lines: qa/rolling-upgrade/src/test/java/org/opensearch/neuralsearch/bwc/rolling/AbstractRollingUpgradeTestCase.java
Copy file name to clipboardexpand all lines: src/main/java/org/opensearch/neuralsearch/query/HybridQuery.java
+23-2
Original file line number
Diff line number
Diff line change
@@ -14,6 +14,7 @@
14
14
importjava.util.Map;
15
15
importjava.util.Objects;
16
16
importjava.util.concurrent.Callable;
17
+
importjava.util.stream.Collectors;
17
18
18
19
importorg.apache.lucene.search.BooleanClause;
19
20
importorg.apache.lucene.search.BooleanQuery;
@@ -42,6 +43,26 @@ public final class HybridQuery extends Query implements Iterable<Query> {
42
43
* @param filterQueries list of filters that will be applied to each sub query. Each filter from the list is added as bool "filter" clause. If this is null sub queries will be executed as is
0 commit comments