Class RescorerBuilder<RB extends RescorerBuilder<RB>>

java.lang.Object
org.elasticsearch.search.rescore.RescorerBuilder<RB>
All Implemented Interfaces:
NamedWriteable, Writeable, org.elasticsearch.common.xcontent.ToXContent, org.elasticsearch.common.xcontent.ToXContentObject, Rewriteable<RescorerBuilder<RB>>
Direct Known Subclasses:
QueryRescorerBuilder

public abstract class RescorerBuilder<RB extends RescorerBuilder<RB>> extends Object implements NamedWriteable, org.elasticsearch.common.xcontent.ToXContentObject, Rewriteable<RescorerBuilder<RB>>
The abstract base builder for instances of RescorerBuilder.
  • Field Details

    • DEFAULT_WINDOW_SIZE

      public static final int DEFAULT_WINDOW_SIZE
      See Also:
      Constant Field Values
    • windowSize

      protected Integer windowSize
  • Constructor Details

    • RescorerBuilder

      public RescorerBuilder()
      Construct an empty RescoreBuilder.
    • RescorerBuilder

      protected RescorerBuilder(StreamInput in) throws IOException
      Read from a stream.
      Throws:
      IOException
  • Method Details