|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.lucene.util.Parameter
org.apache.lucene.document.Field.Store
public static final class Field.Store
Specifies whether and how a field should be stored.
| Field Summary | |
|---|---|
static Field.Store |
COMPRESS
Deprecated. Please use CompressionTools instead.
For string fields that were previously indexed and stored using compression,
the new way to achieve this is: First add the field indexed-only (no store)
and additionally using the same field name as a binary, stored field
with CompressionTools.compressString(java.lang.String). |
static Field.Store |
NO
Do not store the field value in the index. |
static Field.Store |
YES
Store the original field value in the index. |
| Method Summary |
|---|
| Methods inherited from class org.apache.lucene.util.Parameter |
|---|
readResolve, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final Field.Store COMPRESS
CompressionTools instead.
For string fields that were previously indexed and stored using compression,
the new way to achieve this is: First add the field indexed-only (no store)
and additionally using the same field name as a binary, stored field
with CompressionTools.compressString(java.lang.String).
public static final Field.Store YES
public static final Field.Store NO
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||