Ranga, In order to find the minimum and maximum values in a field you will need to use a TermEnum and walk over all of the values in a field. There are no direct calls to determine the minimum and maximum.
Michael -----Original Message----- From: Ranga [mailto:ra...@capdigisoft.com] Sent: Monday, March 01, 2010 6:08 AM To: lucene-net-dev@lucene.apache.org Subject: Finding minimum and maximum value in a field Hi All, I want to find out the minimum and maximum value in a field. How to achieve is Lucene.Net. Currently I am using Lucene.Net version 2.4.0 can anyone help me. Thanks in advance -Ranga