From f84bb56f735ffc5eec020eda93ac32cf41d25560 Mon Sep 17 00:00:00 2001 From: Varun Jain Date: Tue, 26 Dec 2023 20:47:08 -0800 Subject: [PATCH] Updating Pipeline Configuration Signed-off-by: Varun Jain --- qa/build.gradle | 7 ------- .../processor/PipelineConfiguration.json | 7 +------ .../processor/PipelineConfiguration.json | 7 +------ .../neuralsearch/BaseNeuralSearchIT.java | 21 ------------------- 4 files changed, 2 insertions(+), 40 deletions(-) diff --git a/qa/build.gradle b/qa/build.gradle index f5ecfb615..86ad41315 100644 --- a/qa/build.gradle +++ b/qa/build.gradle @@ -20,13 +20,6 @@ test.enabled = false assemble.enabled = false dependenciesInfo.enabled = false -repositories { - mavenLocal() - maven { url "https://aws.oss.sonatype.org/content/repositories/snapshots" } - mavenCentral() - maven { url "https://plugins.gradle.org/m2/" } -} - configurations { zipArchive } diff --git a/qa/restart-upgrade/src/test/resources/processor/PipelineConfiguration.json b/qa/restart-upgrade/src/test/resources/processor/PipelineConfiguration.json index 5d0bfe90f..73646329f 100644 --- a/qa/restart-upgrade/src/test/resources/processor/PipelineConfiguration.json +++ b/qa/restart-upgrade/src/test/resources/processor/PipelineConfiguration.json @@ -5,12 +5,7 @@ "text_embedding": { "model_id": "%s", "field_map": { - "title": "title_knn", - "favor_list": "favor_list_knn", - "favorites": { - "game": "game_knn", - "movie": "movie_knn" - } + "passage_text": "passage_embedding" } } } diff --git a/qa/rolling-upgrade/src/test/resources/processor/PipelineConfiguration.json b/qa/rolling-upgrade/src/test/resources/processor/PipelineConfiguration.json index 5d0bfe90f..73646329f 100644 --- a/qa/rolling-upgrade/src/test/resources/processor/PipelineConfiguration.json +++ b/qa/rolling-upgrade/src/test/resources/processor/PipelineConfiguration.json @@ -5,12 +5,7 @@ "text_embedding": { "model_id": "%s", "field_map": { - "title": "title_knn", - "favor_list": "favor_list_knn", - "favorites": { - "game": "game_knn", - "movie": "movie_knn" - } + "passage_text": "passage_embedding" } } } diff --git a/src/testFixtures/java/org/opensearch/neuralsearch/BaseNeuralSearchIT.java b/src/testFixtures/java/org/opensearch/neuralsearch/BaseNeuralSearchIT.java index a273b3f22..3e0a504ff 100644 --- a/src/testFixtures/java/org/opensearch/neuralsearch/BaseNeuralSearchIT.java +++ b/src/testFixtures/java/org/opensearch/neuralsearch/BaseNeuralSearchIT.java @@ -854,27 +854,6 @@ protected Map getIngestionPipeline(String pipelineName) { return (Map) responseMap.get(pipelineName); } - // /** - // * Get indices - // */ - // @SneakyThrows - // protected void getIndices() { - // Request request = new Request("GET", "/_cat/indices"); - // Response response = client().performRequest(request); - // String responseBody = EntityUtils.toString(response.getEntity()); - // logger.info("Indices are ============================"); - // logger.info(responseBody); - // } - // - // @SneakyThrows - // protected void getShards() { - // Request request = new Request("GET", "/_cat/shards"); - // Response response = client().performRequest(request); - // String responseBody = EntityUtils.toString(response.getEntity()); - // logger.info("Shards are ============================"); - // logger.info(responseBody); - // } - /** * Enumeration for types of pipeline processors, used to lookup resources like create * processor request as those are type specific