I think that in BooleanQuery and related classes we mostly aggregate child scores by summing (although there is DisjunctionMaxScorer which doesn't exactly take the max?). I have a use case where I want to take the min score from a bunch of required terms. To do this I had to write a new query and fork BlockMaxConjunctionScorer. I wonder if it would make sense to expose the aggregator to callers, perhaps with an enum, since we can't support arbitrary functions, but we could support at least min, max, sum?
--------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org