TermsEnum will give you the first, and the last if you loop through to
the end. Generally pretty fast. Or skip through with seekCeil() -
might be faster.
--
Ian.
On Wed, Feb 20, 2013 at 11:31 PM, Vitaly Funstein wrote:
> I know that general questions about aggregate functions have been asked
I know that general questions about aggregate functions have been asked
here before a number of times, but I would like to figure out how to solve
at least one specific subset of this issue. Namely, given a specific
indexed field, how do I efficiently get the min/max value of the field in
the index