I think you could use a range (either a RangeQuery or RangeFilter).  So your
range (from your example) would be between 125688 and 1000000000 or some
such...

Be careful of a RangeQuery throwing TooManyClauses if your range contains
more than 1024 (default) distinct entries, which means I'd recommend using
the RangeFilter is your first option.....

Erick

On 9/25/06, Michael J. Prichard <[EMAIL PROTECTED]> wrote:

I have a filtering process that checks my index for various things.  I
have an "itemid" field in this index and I keep track of the last itemid
I search up to.  I was wondering if there was an equivalent to doing a
search with a "greater than" clause?  Sort of like:

to:[EMAIL PROTECTED] AND subject:happy AND itemid: >125688

-Michael

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to