Skip to content

Commit

Permalink
Fix create of elastic index
Browse files Browse the repository at this point in the history
Signed-off-by: Andrey Sobolev <[email protected]>
  • Loading branch information
haiodo committed Mar 5, 2025
1 parent 0c9e58f commit c84f825
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pods/fulltext/src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,8 @@ export async function startIndexer (
)
const fulltextAdapter = await opt.config.fulltextAdapter.factory(opt.config.fulltextAdapter.url)

await fulltextAdapter.initMapping(ctx)

const shutdownInterval = setInterval(() => {
for (const [k, v] of [...indexers.entries()]) {
if (v instanceof Promise) {
Expand Down

0 comments on commit c84f825

Please sign in to comment.