omitNorms for field in solr schema(转载地址:http://blog.csdn.net/fengzanfeng/article/details/22056121)
来源:互联网 发布:我们的大数据时代2017 编辑:程序博客网 时间:2024/05/16 01:56
首先看一下官方的介绍:http://wiki.apache.org/solr/SchemaXml
omitNorms=true|false
1. This is arguably an advanced option.
2. Set to true to omit the norms associated with this field (this disables length normalization and index-time boosting for the field, and saves some memory). Only full-text fields or fields that need an index-time boost need norms.
1. This is arguably an advanced option.
2. Set to true to omit the norms associated with this field (this disables length normalization and index-time boosting for the field, and saves some memory). Only full-text fields or fields that need an index-time boost need norms.
设置 omitNorms=false 意味着忽略掉 field 的 norms,相当于禁用掉了 length normalization 和 索引时 boosting;
1. length normalization:越短的文档,得分越高;
2. boost:boost 越大,得分越高;
2. boost:boost 越大,得分越高;
3. 计算方法如下:
norm(t,d) = lengthNorm · ∏
f.boost
() field f in d named as tomitNorms="true" on a field will have following effect:
1. length normalization will not work on the specific field--> Which means matching documents with shorter length will not be preferred/boost over matching documents with greater length for the specific field, at search time.
2. Index time boosting will not be available on the field.
If, both the above cases are not required by you, then, you can set "omitNorms=true" for the specific fields.
This has an added advantage, it will save you some(or a lot of) RAM also, since, with "omitNorms=false" on total "N" fields in the index will require RAM of size: Total docs in index * 1 byte * N
0 0
- omitNorms for field in solr schema(转载地址:http://blog.csdn.net/fengzanfeng/article/details/22056121)
- omitNorms for field in solr schema
- Hadoop集群配置详解 转载地址:http://blog.csdn.net/flyqwang/article/details/7244552
- 转载的地址:http://blog.csdn.net/jianxin160/article/details/47753241
- JVM调优总结(转载地址:http://blog.csdn.net/wuzhilon88/article/details/49201891)
- 转载自http://blog.csdn.net/fei20072050104/article/details/21785565
- 转载自:http://blog.csdn.net/lmj623565791/article/details/24015867
- 转载自 http://blog.csdn.net/racehorse/article/details/6593719
- 转载于:http://blog.csdn.net/wangnan537/article/details/37743497
- Clip 转载http://blog.csdn.net/lonelyroamer/article/details/8244777/
- Shape 转载http://blog.csdn.net/bear_huangzhen/article/details/24488337
- 转载出去:http://blog.csdn.net/han_xiaoyang/article/details/11969497
- 转载自http://blog.csdn.net/zhengzhihust/article/details/44151785
- 转载自http://blog.csdn.net/huxu981598436/article/details/51626569
- 转载自http://blog.csdn.net/lwyygydx/article/details/41870377
- 转载自:http://blog.csdn.net/go_hyp/article/details/53693058
- 转载http://blog.csdn.net/augusdi/article/details/11773163
- 转载自 http://blog.csdn.net/bieleyang/article/details/76973220
- PS快捷键
- [译]Java并发:@GuardedBy----Android中的注解
- php基础第三篇
- java程序中没有错,但是项目上面显示一个红叉的解决办法
- Android studio 你不知道的调试技巧
- omitNorms for field in solr schema(转载地址:http://blog.csdn.net/fengzanfeng/article/details/22056121)
- 继承和组合
- 网狐架构
- List<String> 转 Object[] 转 String[]
- Linux下图片 jpg、png、gif 与 eps 格式的相互转换
- Spring总结(六)--事务管理的概念
- mojo 编码处理
- AndroidStudio离线gradle与出现Error:Unable to tunnel through proxy"解决方法
- 싸가지없는 영어