コード例 #1
0
 /** Return the field statistics for each term in the shard or skip. */
 public TermVectorRequest fieldStatistics(boolean fieldStatistics) {
   setFlag(Flag.FieldStatistics, fieldStatistics);
   return this;
 }
コード例 #2
0
 /** Return the term statistics for each term in the shard or skip. */
 public TermVectorRequest termStatistics(boolean termStatistics) {
   setFlag(Flag.TermStatistics, termStatistics);
   return this;
 }
コード例 #3
0
 /** Return the positions for each term if stored or skip. */
 public TermVectorRequest positions(boolean positions) {
   setFlag(Flag.Positions, positions);
   return this;
 }
コード例 #4
0
 /** Return the payloads for each term or skip. */
 public TermVectorRequest payloads(boolean payloads) {
   setFlag(Flag.Payloads, payloads);
   return this;
 }
コード例 #5
0
 /** 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;
 }