Wildbook
Wildbook copied to clipboard
opensearchIndexDeep() can sometimes be skipped
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 useopensearchIndex()instead