omitNorms for field in solr schema
来源:互联网 发布:vb 文本相似度算法 编辑:程序博客网 时间:2024/06/10 07:30
首先看一下官方的介绍: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
- omitNorms for field in solr schema(转载地址:http://blog.csdn.net/fengzanfeng/article/details/22056121)
- Solr中的Document、Field、Schema
- solr schema.xml Field属性详解
- Solr-----5、Solr Schema配置
- undefined field: "cat" solr
- SOLR---Field、CopyField、DynamicField
- solr Field、CopyField、DynamicField
- solr schema.xml 解析
- solr的schema.xml
- solr schema.xml
- solr schema.xml
- solr schema.xml
- Solr Schema.xml示例
- solr Schema.xml详解
- Solr之Schema.xml
- Solr Schema API
- Add custom Field in Order Total for Magento
- 黑马程序员---Java基础总结---String
- 想法:指针与拷贝构造函数.类赋值操作符
- Android* 教程: 使用英特尔® 线程构建模块编写多线程应用
- 最大化cache容量
- 从今天起开始写微博,努力提高自己啦
- omitNorms for field in solr schema
- 自定义控件
- linux 的date命令及系统时间设置
- Windows HPC Server 2008 R2 下载
- HregionServer 启动部分讲解
- Mysql总结
- 使用Cache还是跳过Cache
- unity3d——3.5升级4.3打包资源的使用
- 配置Eclipse支持JDK8