I search for a word and I get the results with facet as follows:
108
&l
This doesn't answer this question directly but it may help with this problem:
Remove the spaces before posting to Solr.
For fields used for faceting rather than searching, it is not important to store the value with spaces. The value is simply a treated as key. Store the field itemtype like so:"supplychainintermediaries", "monitorauditorfirm", etc.
When you display the facet values to the user, simply use a dictionary which maps key values to display values. Like so:
"supplychainintermediaries" --> "Supply Chain Intermediaries"
"monitorauditorfirm" --> "Monitor/Auditor Firm"