Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

newly created encounters do not always get indexed #974

Open
naknomum opened this issue Jan 7, 2025 · 0 comments
Open

newly created encounters do not always get indexed #974

naknomum opened this issue Jan 7, 2025 · 0 comments
Assignees
Labels
bug something's broken!

Comments

@naknomum
Copy link
Member

naknomum commented Jan 7, 2025

Expected behavior
create a new encounter, it is immediately indexed for searching

Current behavior
sometimes a new encounter is not immediately in the index

Notes
there is problematic code in enc.opensearchIndexDeep() which tries to remedy this by using origEnc -- and it needs to be removed.

for example: create a new Encounter with no images. this causes postStore() to execute, and then opensearchIndexDeep()... however the encounter is not available in db yet for some reason; thus the index fails. [assuming the origEnc problematic code is removed.]

@naknomum naknomum added the bug something's broken! label Jan 7, 2025
@naknomum naknomum self-assigned this Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug something's broken!
Projects
None yet
Development

No branches or pull requests

1 participant