lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Garski <mgar...@myspace-inc.com>
Subject RE: Finding minimum and maximum value in a field
Date Mon, 01 Mar 2010 16:12:34 GMT
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:ranga@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




Mime
View raw message