Expert: directly create a field for a document. Most users should use one of the sugar subclasses: {@link IntField}, {@link LongField}, {@link FloatField}, {@link DoubleField}, {@link BinaryDocValuesField}, {@link NumericDocValuesField}, {@link SortedDocValuesField}, {@link StringField}, {@link TextField}, {@link StoredField}.
A field is a section of a Document. Each field has three parts: name, type and value. Values may be text (String, Reader or pre-analyzed TokenStream), binary (byte[]), or numeric (a Number). Fields are optionally stored in the index, so that they may be returned with hits on the document.
NOTE: the field type is an {@link IndexableFieldType}. Making changes to the state of the IndexableFieldType will impact any Field it is used in. It is strongly recommended that no changes be made after Field instantiation.