From 5b0511d3040c8b86affb91e2e96fc9c51877ab0a Mon Sep 17 00:00:00 2001 From: John Mazanec Date: Thu, 5 Sep 2024 06:05:55 -0700 Subject: [PATCH] Remove commented out code Signed-off-by: John Mazanec --- .../knn/plugin/transport/TrainingModelRequest.java | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/main/java/org/opensearch/knn/plugin/transport/TrainingModelRequest.java b/src/main/java/org/opensearch/knn/plugin/transport/TrainingModelRequest.java index deb7314cd..df24baf0e 100644 --- a/src/main/java/org/opensearch/knn/plugin/transport/TrainingModelRequest.java +++ b/src/main/java/org/opensearch/knn/plugin/transport/TrainingModelRequest.java @@ -173,12 +173,6 @@ public TrainingModelRequest(StreamInput in) throws IOException { this.compressionLevel = CompressionLevel.NOT_CONFIGURED; } - // SpaceType topLevelSpaceType = SpaceType.DEFAULT; - // - // if(IndexUtil.isVersionOnOrAfterMinRequiredVersion(in.getVersion(), KNNConstants.TOP_LEVEL_SPACE_TYPE_FEATURE)) { - // topLevelSpaceType = SpaceType.getSpace(in.readOptionalString()); - // } - this.knnMethodConfigContext = KNNMethodConfigContext.builder() .vectorDataType(vectorDataType) .dimension(dimension)