-
Notifications
You must be signed in to change notification settings - Fork 128
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor structure of stats module (#736)
Removes valid stats arg from KNNStatsRequest. Valid stats is a global constant so there is not a good reason to make it configurable. It is still written in and out of the stream. This is to prevent breakage in any kind of backwards compatibility. Removes KNNStatsConfig class and moves logic directly into the KNNStats class. KNNStatsConfig just hosted a single map of the stats, so it felt unneccessary to have the whole class. Signed-off-by: John Mazanec <[email protected]>
- Loading branch information
1 parent
8e2ad45
commit 185b54d
Showing
9 changed files
with
136 additions
and
152 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
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
94 changes: 0 additions & 94 deletions
94
src/main/java/org/opensearch/knn/plugin/stats/KNNStatsConfig.java
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.