How to Increase Solr Index Size on Updates
When you run updates on your Apache Solr library, the program creates a temporary index while it works. This index can be large or small, depending on how you set up the program. A smaller index takes up less space on your hard drive, but the update goes more slowly. If you have hard drive space to spare, though, you can increase your index size. This will speed up the update and, as always, the index will be deleted when the update process completes.
- Difficulty:
- Moderately Easy
Instructions
-
-
1
Open the file “schema.xml” in your Solr folder. This controls the preferences for updating.
-
2
Find the line omitNorms="true".
-
3
Change “true” to “false.” Be sure not to delete the quotation marks.
-
4
Save the file and run the update normally. The index size will increase, leading to a faster update.
-
1