在Lucene.Net中存储System.Decimal

时间:2014-10-15 16:36:06

标签: c# lucene.net

我想在System.Decimal字段中存储NumericField类型。

我不想将其存储为文本。

然而,NumericField.SetLongValue是我能够开箱即用的最大准确度。

我应该实现自己的TokenStream类来将Decimal值保存到Lucene索引中,还是有替代解决方案?

由于

0 个答案:

没有答案