Solr TrieField 字段

TrieField 是 Solr 中提供用于支持 Lucene 的 IntField, LongField, FloatField 和 DoubleField。

TrieField 支持 integer, float, long, double 和 date 类型。

注意,如果你使用为 int/float 使用 precisionStep 配置为 32 和 为 long/double/date 的 precisionStep 配置为 64,那么在 Solr 中部会创建多个 terms,查找区域不会比其他类型快,但是可以节约存储空间。