Commits and near real-time optimizations (Advanced)
You may have noticed that through the previous examples we have set the
commit flag or mentioned implicit commits. That allowed us to concentrate on the effects of our changes and ignore Solr optimizations that are important for production environments.
However, the optimizations around commits are important and the core issues need to be understood.
In this example we will look at the lifecycle that a document change (create, update, delete, and so on) goes through and how different commit settings affect the speed with which these changes become visible to end users.
How to do it...
- Copy and rename the
collection1directory to a
commitdirectory, delete the
datadirectory, and add the core reference ...