Skip to content

Commit ea6b80e

Browse files
authored
lowercase document type for OpenSearch index campatibility (#7899)
Signed-off-by: hk-9 <pvharikrishna8120@gmail.com>
1 parent e856066 commit ea6b80e

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@backstage-community/plugin-search-backend-module-confluence-collator': patch
3+
---
4+
5+
Lowercase the document type passed to the collator factory to prevent OpenSearch invalid_index_name_exception in multi-instance configurations

workspaces/confluence/plugins/search-backend-module-confluence-collator/src/module.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ export const searchModuleConfluenceCollator = createBackendModule({
102102
config,
103103
{ logger },
104104
actualInstanceKey,
105-
collatorKey,
105+
collatorKey.toLowerCase(),
106106
),
107107
});
108108
}

0 commit comments

Comments
 (0)