最近需要些一個可配置的索引構建程式,需要在執行時呼叫Lucene包的如下類及其成員:
引用
Nested Class Summary
static class Field。Index
Specifies whether and how a field should be indexed。
static class Field。Store
Specifies whether and how a field should be stored。
static class Field。TermVector
Specifies whether and how a field should have term vectors。
lucene api中稱之為Nested Class,意為巢狀類,而巢狀類內部的File。Index的成員又是靜態成員。
Field Summary
static Field。Index ANALYZED
Index the tokens produced by running the field"s value through an Analyzer。
static Field。Index 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。
static Field。Index NO
Do not index the field value。
static Field。Index NO_NORMS
Deprecated。 This has been renamed to NOT_ANALYZED_NO_NORMS
static Field。
Index NOT_ANALYZED
Index the field"s value without using an Analyzer, so it can be searched。
最近需要些一個可配置的索引構建程式,需要在執行時呼叫Lucene包的如下類及其成員:
引用
Nested Class Summary
static class Field。Index
Specifies whether and how a field should be indexed。
static class Field。Store
Specifies whether and how a field should be stored。
static class Field。TermVector
Specifies whether and how a field should have term vectors。
lucene api中稱之為Nested Class,意為巢狀類,而巢狀類內部的File。Index的成員又是靜態成員。
引用
Field Summary
static Field。Index ANALYZED
Index the tokens produced by running the field"s value through an Analyzer。
static Field。Index 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。
static Field。Index NO
Do not index the field value。
static Field。Index NO_NORMS
Deprecated。 This has been renamed to NOT_ANALYZED_NO_NORMS
static Field。
Index NOT_ANALYZED
Index the field"s value without using an Analyzer, so it can be searched。