Hi Teun,
In the past I've done this by creating a separate field that contains just the
first letter of the original field, and faceting on that. So say you've got a
'colour' field with contents [red, yellow, blue], then you'd add a
'colourPrefix' field with contents [r, y, b] and
What I really miss in the SimpleFaceting component is the ability to get
facets not of the full term, but grouped by the first letter(s). I wrote a
Jira issue on this ( https://issues.apache.org/jira/browse/SOLR-4496). I
also wrote a patch with a rather simplistic first try of an implementation.