Skip to content

Commit

Permalink
Addressing Heemin's comment
Browse files Browse the repository at this point in the history
Signed-off-by: Varun Jain <[email protected]>
  • Loading branch information
vibrantvarun committed Jan 26, 2024
1 parent c82679c commit 8b29c4b
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public class NeuralSparseQueryIT extends BaseNeuralSearchIT {

private static final Float DELTA = 1e-5f;
private final Map<String, Float> testRankFeaturesDoc = TestUtils.createRandomTokenWeightMap(TEST_TOKENS);
private static String modelId;
private String modelId;

@Before
public void setUp() throws Exception {
Expand Down

0 comments on commit 8b29c4b

Please sign in to comment.