public static enum

Field.Store

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ org.apache.lucene.document.Field.Store

Class Overview

Specifies whether and how a field should be stored.

Summary

Enum Values
Field.Store  NO  Do not store the field value in the index. 
Field.Store  YES  Store the original field value in the index. 
Public Methods
abstract boolean isStored()
static Field.Store valueOf(String name)
final static Store[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final Field.Store NO

Do not store the field value in the index.

public static final Field.Store YES

Store the original field value in the index. This is useful for short texts like a document's title which should be displayed with the results. The value is stored in its original form, i.e. no analyzer is used before it is stored.

Public Methods

public abstract boolean isStored ()

public static Field.Store valueOf (String name)

public static final Store[] values ()