lucene3.6.1 中Field.Index,Field.Store释义

Norms 是调节因子,为文档打分使用,不使用会节约一部分存储,

基本含义是

NO_NORMS: 不打分

NOT_ANALYZED:不分词

NO:不建立索引

ANALYZED
Index the tokens produced by running the field's value through an Analyzer.

索引经过分词器处理的字段值

ANALYZED_NO_NORMS
Expert: Index the tokens produced by running the field's value through an Analyzer, and also separately disable the storing of norms.

索引经过分词器处理的字段值,分别禁用存储规范

NO
Do not index the field value.

不索引该字段值

NOT_ANALYZED
Index the field's value without using an Analyzer, so it can be searched.

不使用分词器索引字段值,因此它可以被搜查

NOT_ANALYZED_NO_NORMS
Expert: Index the field's value without an Analyzer, and also disable the indexing of norms.

不使用分词器索引字段禁用索引调节因子

Enum Constant Summary

NO
Do not store the field value in the index.

不存储在索引中的字段值

YES
Store the original field value in the index.

存储在索引中原始字段

你可能感兴趣的:(Lucene)