We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7fd998a commit d27bb68Copy full SHA for d27bb68
worker/search.js
@@ -159,7 +159,8 @@ export async function indexAllItems ({ models, boss }) {
159
}
160
161
const idxSettings = await search.indices.getSettings({ index: osIndex })
162
- const pipeline = idxSettings.body[osIndex]?.settings?.index?.default_pipeline
+ // getSettings keys by concrete index name, not alias, so use the first value
163
+ const pipeline = Object.values(idxSettings.body)[0]?.settings?.index?.default_pipeline
164
if (!pipeline) {
165
// The init script sets default_pipeline AFTER seed import completes,
166
// so its absence means bootstrap is still in progress.
0 commit comments