A field is a section of a Document. Each field has two parts, a name and a
value. Values may be free text, provided as a String or as a Reader, or they
may be atomic keywords, which are not further processed. Such keywords may
be used to represent dates, urls, etc. Fields are optionally stored in the
index, so that they may be returned with hits on the document.
The Field..::..Store type exposes the following members.
Methods
Name | Description | |
---|---|---|
Equals | Resolves the deserialized instance to the local reference for accurate
equals() and == comparisons.
(Inherited from Parameter.) | |
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | (Inherited from Parameter.) |
Fields
Name | Description | |
---|---|---|
COMPRESS | Store the original field value in the index in a compressed form. This is
useful for long documents and for binary valued fields.
| |
NO | Do not store the field value in the index. | |
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.
|