lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-François Beaulac <jbeau...@versacom.ca>
Subject RE: Finding minimum and maximum value in a field
Date Mon, 01 Mar 2010 16:26:00 GMT
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:ranga@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






Mime
View raw message