I'm a complete beginner with Solr, so bear with me. :)
In my current project I have a very simple DB - just 1 table that contains 4 fields: id, name, subject, msg.
The way I understand, every time a new record is added (or removed), I'd need to add that record to the index, essentially performing two operations: inserting the record into the DB and adding it to the index.
Is this standard procedure, or is there a way to direct Solr to automatically reindex the DB table either at some interval or whenever there are updates?
Also, since the table is so simple, does it even make sense to store this info in the DB? Why not just keep it in the Solr index, considering that I want the records to be searchable by name, subject, and msg?
My setup is Java, Hibernate, MySQL, and Solrj.