Spring Data Elastic Search: determine difference between DB data and ES document -


my application using spring data jpa , spring data elastic search. database data has been indexed time ago using data database , in sync now.

the problem other applications using same tables in database , performing actions them, leads inconsistencies between elastic search indexed data , data in database.

i can of course write methods compare data between database , elastic search prior action, hit on performance. or can re index data in elastic search every n minutes/hours/days.

maybe had similar case , found better solution problem?

thanks in advance.


Comments

Popular posts from this blog

inversion of control - Autofac named registration constructor injection -

verilog - Systemverilog dynamic casting issues -

ios - Change Storyboard View using Seague -