Handling ICU Library Errors in Opensolr
What Are ICU Library Errors?
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.
Why Does This Happen?
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.
How Do I Fix It?
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.
Not Sure If This Is Your Error?
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:
- Click your Index Name in the Opensolr Dashboard
- Go to Tools â Error Logs
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!
TL;DR
- Get an ICU error? Ask Opensolr Support to enable the library for your server.
- Not sure whatâs broken? Check your Error Logs (Index Name â Tools â Error Logs).
Happy indexing!

