Skip to content

Commit

Permalink
Switch to x.x.x versioning for codecs and doc value format
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Gaievski <[email protected]>
  • Loading branch information
martin-gaievski committed Mar 24, 2022
1 parent 7550e97 commit 98f1264
Show file tree
Hide file tree
Showing 16 changed files with 37 additions and 1,085 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Copyright OpenSearch Contributors
* SPDX-License-Identifier: Apache-2.0
*/
package org.opensearch.knn.index.codec.KNN91Codec;
package org.opensearch.knn.index.codec.KNN910Codec;

import org.apache.lucene.codecs.Codec;
import org.apache.lucene.codecs.CompoundFormat;
Expand All @@ -18,15 +18,15 @@
* based on the mappings.
*
*/
public final class KNN91Codec extends FilterCodec {
public final class KNN910Codec extends FilterCodec {

public static final String KNN_91 = "KNN91Codec";
private KNNFormatFacade knnFormatFacade;
private static final String KNN910 = "KNN910Codec";
private final KNNFormatFacade knnFormatFacade;

/**
* No arg constructor that uses Lucene91 as the delegate
*/
public KNN91Codec() {
public KNN910Codec() {
this(createKNN91DefaultDelegate());
}

Expand All @@ -35,9 +35,9 @@ public KNN91Codec() {
*
* @param delegate codec that will perform all operations this codec does not override
*/
public KNN91Codec(Codec delegate) {
super(KNN_91, delegate);
knnFormatFacade = KNNFormatFactory.createKNN91Format(delegate);
public KNN910Codec(Codec delegate) {
super(KNN910, delegate);
knnFormatFacade = KNNFormatFactory.createKNN910Format(delegate);
}

@Override
Expand Down

This file was deleted.

This file was deleted.

Loading

0 comments on commit 98f1264

Please sign in to comment.