hapi-fhir icon indicating copy to clipboard operation
hapi-fhir copied to clipboard

During $delete-expunge job, hibernate search indexed documents are left orphaned.

Open tadgh opened this issue 3 years ago • 0 comments

  1. Enable hibernate search (either lucene/elasticsearch).
  2. Create some data
  3. Query Elasticsearch to see that resourcetable-000001 index contains documents. \
  4. Run a $delete-expunge job.
  5. Wait for it to complete

Expected Behaviour:

  • resources expunged from database should also be expunged from the hibernate search index.

Actual Behaviour:

  • Documents representing expunged resources remain visible in Elasticsearch.

Expunging should also clean out the HS indexes.

tadgh avatar Aug 11 '22 01:08 tadgh