lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley" <>
Subject Re: BigDecimal values
Date Sat, 22 Nov 2008 21:01:56 GMT
On Thu, Nov 20, 2008 at 9:30 AM, Sergey Kabashnyuk <> wrote:
> Thanks Ian
> Unfortunately, I have to index any possible number of java.math.BigDecimal
> I can rephrase my question this way:
> How can I convert java.math.BigDecimal numbers in to string
> for its storing in lexicographical order

Some early work I did in Solr handles this for integers (it's pretty
much unused code now though).  The format was designed to support
decimals also, but I never got around to doing the code.

See BCDIntField, and BCDUtils, specifically


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message