Field

One Document is made up of one or more fields. A field is the smallest definable unit of a data index in Lucene. Lucene provides many different types of field, including StringField, TextField and NumericDocValuesField. Lucene determines the type of indexing (such as Invert Index, Store Field, DocValues or N-dimensional) to use for the data depending on the type of field (FieldType).

Types of Fields

img

The figure shows the basic relationship between the different types of Field in Lucene... more in here

Relationships


Backlinks