/** Return the field statistics for each term in the shard or skip. */ public TermVectorRequest fieldStatistics(boolean fieldStatistics) { setFlag(Flag.FieldStatistics, fieldStatistics); return this; }
/** Return the term statistics for each term in the shard or skip. */ public TermVectorRequest termStatistics(boolean termStatistics) { setFlag(Flag.TermStatistics, termStatistics); return this; }
/** Return the positions for each term if stored or skip. */ public TermVectorRequest positions(boolean positions) { setFlag(Flag.Positions, positions); return this; }
/** Return the payloads for each term or skip. */ public TermVectorRequest payloads(boolean payloads) { setFlag(Flag.Payloads, payloads); return this; }
/** Return the start and stop offsets for each term if they were stored or skip offsets. */ public TermVectorRequest offsets(boolean offsets) { setFlag(Flag.Offsets, offsets); return this; }