How do elasticsearch or solr integrate with JPA so the index is kept up to date with the data?
Here are a couple of options you can do to keep Solr and data source in sync:
How to keep Lucene index synchronized with Mysql database?
Spring (Roo):
http://static.springsource.org/spring-roo/reference/html/base-solr.html
One option is using Hibernate & Hibernate search while connecting Hibernate search to Solr.
You can get a brief overview here: Combining the power of Hibernate Search and Solr
It will require some work, but not too much (1-2 days of work should be enough).
Let me know if you need more details.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With