If you’re uploading or saving configuration files using the Opensolr Editor, you might occasionally be greeted by an error that looks a little something like this:
Error loading class ‘solr.ICUCollationField’
Don’t worry—this doesn’t mean the sky is falling or that your config files have started speaking in tongues.
The error above simply means the ICU (International Components for Unicode) library isn’t enabled on your Opensolr server (yet!). This library is required if your configuration references classes like solr.ICUCollationField
—usually for advanced language collation and sorting.
The solution is delightfully simple: Contact Opensolr Support and request that we enable the ICU library for your server.
A real human (yes, a human!) will flip the right switches for your server, and you’ll be back to uploading config files in no time.
If you’re not sure what sort of error you’re running into—or just want to peek under the hood—you can always check your Error Logs after uploading config files:
You’ll see something like this button in your dashboard:
Check the logs to spot any ICU or other config errors. If it smells like ICU, contact us—if it smells like something else, well… contact us anyway. We’re here to help!
Happy indexing!