rsday, January 21, 2010 12:35 PM
> To: lucene-net-user@lucene.apache.org
> Subject: RE: How to get the "greater" term/word in a single-word
> numeric field
>
> Is this a joke?
> http://mail-archives.apache.org/mod_mbox/lucene-lucene-net-
> user/201001.mbox/date?
Is this a joke?
http://mail-archives.apache.org/mod_mbox/lucene-lucene-net-user/201001.mbox/date?1
DIGY
-Original Message-
From: Luis Fco. Ramriez Daza Glez [mailto:luis.francisco@gmail.com]
Sent: Thursday, January 21, 2010 8:29 PM
To: lucene-net-user@lucene.apache.org
Subject: How t
Hi Luis,
Why do you post the same question twice? Please read previous answers.
Here is a code that may give you a hint
private void Form2_Load(object sender, EventArgs e)
{
IndexInt();
FindMinAndMax();
}
L
al Message-
From: Digy [mailto:digyd...@gmail.com]
Sent: 18 January 2010 20:56
To: lucene-net-user@lucene.apache.org
Subject: RE: How to get the "greater" term/word in a single-word numeric
field
You can use TermEnum to find the min. value since terms are stored
*sorted* in the index.
But
You can use TermEnum to find the min. value since terms are stored *sorted* in
the index.
But finding max. may not be so easy. Storing these values in a control doc(such
as doc{ fieldMinValue:m ; fieldMaxValue:n} ) or at an external location (while
indexing) may be a solution.
DIGY.
-Orig