diff --git a/src/test/java/org/opensearch/neuralsearch/processor/NeuralQueryEnricherProcessorIT.java b/src/test/java/org/opensearch/neuralsearch/processor/NeuralQueryEnricherProcessorIT.java index 536a85cb9..758e57a09 100644 --- a/src/test/java/org/opensearch/neuralsearch/processor/NeuralQueryEnricherProcessorIT.java +++ b/src/test/java/org/opensearch/neuralsearch/processor/NeuralQueryEnricherProcessorIT.java @@ -29,7 +29,7 @@ public class NeuralQueryEnricherProcessorIT extends BaseNeuralSearchIT { private static final String ingest_pipeline = "nlp-pipeline"; private static final String TEST_KNN_VECTOR_FIELD_NAME_1 = "test-knn-vector-1"; private final float[] testVector = createRandomVector(TEST_DIMENSION); - private static String modelId; + private String modelId; @Before public void setUp() throws Exception { diff --git a/src/test/java/org/opensearch/neuralsearch/processor/NormalizationProcessorIT.java b/src/test/java/org/opensearch/neuralsearch/processor/NormalizationProcessorIT.java index 9f2bec625..f71c22aed 100644 --- a/src/test/java/org/opensearch/neuralsearch/processor/NormalizationProcessorIT.java +++ b/src/test/java/org/opensearch/neuralsearch/processor/NormalizationProcessorIT.java @@ -53,7 +53,7 @@ public class NormalizationProcessorIT extends BaseNeuralSearchIT { private final float[] testVector2 = createRandomVector(TEST_DIMENSION); private final float[] testVector3 = createRandomVector(TEST_DIMENSION); private final float[] testVector4 = createRandomVector(TEST_DIMENSION); - private static String modelId; + private String modelId; @Before public void setUp() throws Exception { diff --git a/src/test/java/org/opensearch/neuralsearch/processor/ScoreCombinationIT.java b/src/test/java/org/opensearch/neuralsearch/processor/ScoreCombinationIT.java index a590eb1e1..4c1d69daf 100644 --- a/src/test/java/org/opensearch/neuralsearch/processor/ScoreCombinationIT.java +++ b/src/test/java/org/opensearch/neuralsearch/processor/ScoreCombinationIT.java @@ -54,7 +54,7 @@ public class ScoreCombinationIT extends BaseNeuralSearchIT { private static final String L2_NORMALIZATION_METHOD = "l2"; private static final String HARMONIC_MEAN_COMBINATION_METHOD = "harmonic_mean"; private static final String GEOMETRIC_MEAN_COMBINATION_METHOD = "geometric_mean"; - private static String modelId; + private String modelId; @Before public void setUp() throws Exception { diff --git a/src/test/java/org/opensearch/neuralsearch/processor/ScoreNormalizationIT.java b/src/test/java/org/opensearch/neuralsearch/processor/ScoreNormalizationIT.java index 8bac91f1c..8c486f285 100644 --- a/src/test/java/org/opensearch/neuralsearch/processor/ScoreNormalizationIT.java +++ b/src/test/java/org/opensearch/neuralsearch/processor/ScoreNormalizationIT.java @@ -46,7 +46,7 @@ public class ScoreNormalizationIT extends BaseNeuralSearchIT { private static final String L2_NORMALIZATION_METHOD = "l2"; private static final String HARMONIC_MEAN_COMBINATION_METHOD = "harmonic_mean"; private static final String GEOMETRIC_MEAN_COMBINATION_METHOD = "geometric_mean"; - private static String modelId; + private String modelId; @Before public void setUp() throws Exception { diff --git a/src/test/java/org/opensearch/neuralsearch/processor/SparseEncodingProcessIT.java b/src/test/java/org/opensearch/neuralsearch/processor/SparseEncodingProcessIT.java index f473abc24..85a364c79 100644 --- a/src/test/java/org/opensearch/neuralsearch/processor/SparseEncodingProcessIT.java +++ b/src/test/java/org/opensearch/neuralsearch/processor/SparseEncodingProcessIT.java @@ -27,7 +27,7 @@ public class SparseEncodingProcessIT extends BaseNeuralSearchIT { private static final String INDEX_NAME = "sparse_encoding_index"; private static final String PIPELINE_NAME = "pipeline-sparse-encoding"; - private static String modelId; + private String modelId; @Before public void setUp() throws Exception { diff --git a/src/test/java/org/opensearch/neuralsearch/processor/TextEmbeddingProcessorIT.java b/src/test/java/org/opensearch/neuralsearch/processor/TextEmbeddingProcessorIT.java index 81a7a47b2..ec6b84601 100644 --- a/src/test/java/org/opensearch/neuralsearch/processor/TextEmbeddingProcessorIT.java +++ b/src/test/java/org/opensearch/neuralsearch/processor/TextEmbeddingProcessorIT.java @@ -27,7 +27,7 @@ public class TextEmbeddingProcessorIT extends BaseNeuralSearchIT { private static final String INDEX_NAME = "text_embedding_index"; private static final String PIPELINE_NAME = "pipeline-hybrid"; - private static String modelId; + private String modelId; @Before public void setUp() throws Exception { diff --git a/src/test/java/org/opensearch/neuralsearch/processor/TextImageEmbeddingProcessorIT.java b/src/test/java/org/opensearch/neuralsearch/processor/TextImageEmbeddingProcessorIT.java index 5e26caadc..abf4a84e2 100644 --- a/src/test/java/org/opensearch/neuralsearch/processor/TextImageEmbeddingProcessorIT.java +++ b/src/test/java/org/opensearch/neuralsearch/processor/TextImageEmbeddingProcessorIT.java @@ -30,7 +30,7 @@ public class TextImageEmbeddingProcessorIT extends BaseNeuralSearchIT { private static final String INDEX_NAME = "text_image_embedding_index"; private static final String PIPELINE_NAME = "ingest-pipeline"; - private static String modelId; + private String modelId; @Before public void setUp() throws Exception { diff --git a/src/test/java/org/opensearch/neuralsearch/query/HybridQueryIT.java b/src/test/java/org/opensearch/neuralsearch/query/HybridQueryIT.java index b2744c0ab..c80e4e933 100644 --- a/src/test/java/org/opensearch/neuralsearch/query/HybridQueryIT.java +++ b/src/test/java/org/opensearch/neuralsearch/query/HybridQueryIT.java @@ -64,7 +64,7 @@ public class HybridQueryIT extends BaseNeuralSearchIT { private final float[] testVector2 = createRandomVector(TEST_DIMENSION); private final float[] testVector3 = createRandomVector(TEST_DIMENSION); private static final String SEARCH_PIPELINE = "phase-results-hybrid-pipeline"; - private static String modelId; + private String modelId; @Before public void setUp() throws Exception { diff --git a/src/test/java/org/opensearch/neuralsearch/query/NeuralQueryIT.java b/src/test/java/org/opensearch/neuralsearch/query/NeuralQueryIT.java index 28574da7d..18902dca8 100644 --- a/src/test/java/org/opensearch/neuralsearch/query/NeuralQueryIT.java +++ b/src/test/java/org/opensearch/neuralsearch/query/NeuralQueryIT.java @@ -38,7 +38,7 @@ public class NeuralQueryIT extends BaseNeuralSearchIT { private static final String TEST_TEXT_FIELD_NAME_1 = "test-text-field"; private static final String TEST_KNN_VECTOR_FIELD_NAME_NESTED = "nested.knn.field"; private final float[] testVector = createRandomVector(TEST_DIMENSION); - private static String modelId; + private String modelId; @Before public void setUp() throws Exception { diff --git a/src/test/java/org/opensearch/neuralsearch/query/NeuralSparseQueryIT.java b/src/test/java/org/opensearch/neuralsearch/query/NeuralSparseQueryIT.java index 91c88b5bf..25d80b261 100644 --- a/src/test/java/org/opensearch/neuralsearch/query/NeuralSparseQueryIT.java +++ b/src/test/java/org/opensearch/neuralsearch/query/NeuralSparseQueryIT.java @@ -35,7 +35,7 @@ public class NeuralSparseQueryIT extends BaseNeuralSearchIT { private static final Float DELTA = 1e-5f; private final Map testRankFeaturesDoc = TestUtils.createRandomTokenWeightMap(TEST_TOKENS); - private static String modelId; + private String modelId; @Before public void setUp() throws Exception {