lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Quail <m...@ctx.com.au>
Subject donation: LongField.java
Date Sat, 28 Feb 2004 07:26:23 GMT
I've attached a class LongField.java, which is like DateField, but can 
handle any long value (DateField is limited to 0<=d<=31536000000000).

I've also attached a unit test for it. I am happy to donate this to 
Jakarta if you want it.

Motivation: I needed to index "reversed" dates, which ment -ve longs 
(see "Iterating TermEnum backwards" in lucene-user).

=Matt

Mime
View raw message