Wildbook icon indicating copy to clipboard operation
Wildbook copied to clipboard

opensearchIndexDeep() can sometimes be skipped

Open naknomum opened this issue 1 year ago • 0 comments

Expected Behavior "Deep" indexing (e.g. re-indexing all Encounters under a changed MarkedIndividuals) is only done "when necessary", which is most efficient.

Current Behavior Any change to MarkedIndividual (for example, adding another encounter) will cause deep re-indexing of all encounters. this can have a slow response time.

Possible solutions

  • #785 improvements might be "good enough", however additional action may be needed:
  • background deep indexing
  • have some way to disable opensearchIndexDeep() and use opensearchIndex() instead

naknomum avatar Sep 30 '24 17:09 naknomum