Hi,

Depending on you definition of what is maximum and minimum you could probably 
simply perform 2 sorted search, one ascendant and the other one in descendant 
order. Then you just take the top result for each search

Jf

-----Message d'origine-----
De : Ranga [mailto:ra...@capdigisoft.com] 
Envoyé : March 1, 2010 9:08 AM
À : lucene-net-dev@lucene.apache.org
Objet : 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





Reply via email to