database - Solr best practice: All data in Solr or periodically copy to Solr? -


solr supports updating, hence possible develop web app stores data within solr. idea?

using solr, user update solr documents directly if change something. example, user might edit recipe document contain new tag. approach because app has 1 database.

using 2 databases, user updates database needs to. then, periodically system updates solr index. approach allows use database technology keep data consistent , doesn't require slow rebuilding of solr indexes.

for particular application, writes database infrequent.

which approach makes sense , lead stable system?

if updates in db infrequent, doing nightly delta import dih easy, , it's typical way people use solr (that is, not being primary store data). there people use solr primary store too, more infrequent, though when 4.0 released contained improvements makes easier use way.


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -