lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevin Burton <>
Subject Finding minimum and maximum value of a field?
Date Tue, 31 May 2005 07:06:50 GMT
I have an index with a date field.  I want to quickly find the minimum 
and maximum values in the index.

Is there a quick way to do this?  I looked at using TermInfos and 
finding the first one but how to I find the last?

I also tried the new sort API and the performance was horrible :-/

Any ideas?



Use Rojo (RSS/Atom aggregator)! - visit 
See #rojo if you want to chat.

Rojo is Hiring! -

   Kevin A. Burton, Location - San Francisco, CA
      AIM/YIM - sfburtonator,  Web -
GPG fingerprint: 5FB2 F3E2 760E 70A8 6174 D393 E84D 8D04 99F1 4412 

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message