Use computed fields as Apache solr facets
I think you need to store the computed field in database in order to make apache solr index it.
There is check box in computed field to save it to database: Store value in database


Just enable it and see if it works.