-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added rescorer in hybrid query (#917)
* Initial version for rescorer Signed-off-by: Martin Gaievski <gaievski@amazon.com>
- Loading branch information
1 parent
00e622e
commit 9f4a49a
Showing
7 changed files
with
538 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
...org/opensearch/neuralsearch/search/query/exception/HybridSearchRescoreQueryException.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
/* | ||
* Copyright OpenSearch Contributors | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
package org.opensearch.neuralsearch.search.query.exception; | ||
|
||
import org.opensearch.OpenSearchException; | ||
|
||
/** | ||
* Exception thrown when there is an issue with the hybrid search rescore query. | ||
*/ | ||
public class HybridSearchRescoreQueryException extends OpenSearchException { | ||
|
||
public HybridSearchRescoreQueryException(Throwable cause) { | ||
super("rescore failed for hybrid query", cause); | ||
} | ||
} |
Oops, something went wrong.