Skip to content

Commit

Permalink
Move KNNCodecService to codec folder
Browse files Browse the repository at this point in the history
Signed-off-by: John Mazanec <[email protected]>
  • Loading branch information
jmazanec15 committed Mar 10, 2022
1 parent cf82cf4 commit 1cc9f24
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
/*
* Copyright OpenSearch Contributors
* SPDX-License-Identifier: Apache-2.0
*
* The OpenSearch Contributors require contributions made to
* this file be licensed under the Apache-2.0 license or a
* compatible open source license.
*
* Modifications Copyright OpenSearch Contributors. See
* GitHub history for details.
*/

package org.opensearch.knn.plugin;
package org.opensearch.knn.index.codec;

import org.opensearch.index.codec.CodecServiceConfig;
import org.opensearch.knn.index.codec.KNN87Codec.KNN87Codec;
Expand All @@ -15,7 +21,7 @@
*/
class KNNCodecService extends CodecService {

KNNCodecService(CodecServiceConfig codecServiceConfig) {
public KNNCodecService(CodecServiceConfig codecServiceConfig) {
super(codecServiceConfig.getMapperService(), codecServiceConfig.getLogger());
}

Expand Down
1 change: 1 addition & 0 deletions src/main/java/org/opensearch/knn/plugin/KNNPlugin.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
import org.opensearch.knn.index.KNNVectorFieldMapper;

import org.opensearch.knn.index.KNNWeight;
import org.opensearch.knn.index.codec.KNNCodecService;
import org.opensearch.knn.index.memory.NativeMemoryLoadStrategy;
import org.opensearch.knn.indices.ModelCache;
import org.opensearch.knn.indices.ModelDao;
Expand Down

0 comments on commit 1cc9f24

Please sign in to comment.