getBoost

public float getBoost()

Returns the boost factor for hits for this field.

The default value is 1.0.

Note: this value is not stored directly with the document in the index.
Documents returned from IndexReader.document(int) and
Hits.doc(int) may thus not have the same value present as when
this field was indexed.

isCompressed

isTermVectorStored

public final boolean isTermVectorStored()

True iff the term or terms used to index this field are stored as a term
vector, available from IndexReader.getTermFreqVector(int,String).
These methods do not provide access to the original content of the field,
only to terms used to index it. If the original content must be
preserved, use the stored attribute instead.

About reuse: if you pass in the result byte[] and it is
used, likely the underlying implementation will hold
onto this byte[] and return it in future calls to
Fieldable.binaryValue() or Fieldable.getBinaryValue().
So if you subsequently re-use the same byte[] elsewhere
it will alter this Fieldable's value.

setOmitTermFreqAndPositions

Expert:
If set, omit term freq, positions and payloads from
postings for this field.

NOTE: While this option reduces storage space
required in the index, it also means any query
requiring positional information, such as PhraseQuery or SpanQuery subclasses will
silently fail to find results.