How do elasticsearch or solr integrate with JPA so the index is kept up to date with the data?

Edit
Report