Skip to content

Commit

Permalink
update index setting
Browse files Browse the repository at this point in the history
Signed-off-by: yuye-aws <[email protected]>
  • Loading branch information
yuye-aws committed Apr 9, 2024
1 parent 6085bb0 commit b28b4dc
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ public void testTextChunkingProcessor_E2EFlow() throws Exception {
if (isRunningAgainstOldCluster()) {
createPipelineForTextChunkingProcessor(PIPELINE_NAME);
createChunkingIndex(indexName);
waitForClusterHealthGreen(NODES_BWC_CLUSTER); // ensure index has been created
addDocument(indexName, "0", INPUT_FIELD, TEST_INGEST_TEXT, null, null);
validateTestIndex(indexName, OUTPUT_FIELD, 1, expectedPassages);
} else {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{
"settings":{
"default_pipeline": "%s"
"default_pipeline": "%s",
"number_of_shards": 3,
"number_of_replicas": 1
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ public void testTextChunkingProcessor_E2EFlow() throws Exception {
case OLD:
createPipelineForTextChunkingProcessor(PIPELINE_NAME);
createChunkingIndex(indexName);
waitForClusterHealthGreen(NODES_BWC_CLUSTER); // ensure index has been created
addDocument(indexName, "0", INPUT_FIELD, TEST_INGEST_TEXT, null, null);
break;
case MIXED:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{
"settings":{
"default_pipeline": "%s"
"default_pipeline": "%s",
"number_of_shards": 3,
"number_of_replicas": 1
}
}

0 comments on commit b28b4dc

Please sign in to comment.