Support for grouping by {@link org.apache.lucene.queries.function.ValueSource}.