Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Shapeup4: CQRS update #109

Merged
merged 2 commits into from
Aug 6, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
refresh=true, so that new index is immediately available for seraching
  • Loading branch information
Sachin Maheshwari committed Aug 5, 2021
commit 81553f838b99cadbae381040cbb14222f1bd1250
2 changes: 1 addition & 1 deletion src/common/es-helper.js
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ async function processCreate (resource, entity) {
type: DOCUMENTS[resource].type,
id: entity.id,
body: entity,
refresh: 'wait_for'
refresh: 'true'
})
logger.info(`Insert in Elasticsearch resource ${resource} entity, , ${JSON.stringify(entity, null, 2)}`)
}
Expand Down