Maybe a lucene facet example.