Class SmoothingModelBuilders
java.lang.Object
co.elastic.clients.elasticsearch.core.search.SmoothingModelBuilders
Builders for
SmoothingModel variants.-
Method Summary
Modifier and TypeMethodDescriptionlaplace()Creates a builder for thelaplaceSmoothingModelvariant.static SmoothingModelCreates a SmoothingModel of thelaplaceSmoothingModelvariant.Creates a builder for thelinear_interpolationSmoothingModelvariant.static SmoothingModellinearInterpolation(Function<LinearInterpolationSmoothingModel.Builder, ObjectBuilder<LinearInterpolationSmoothingModel>> fn) Creates a SmoothingModel of thelinear_interpolationSmoothingModelvariant.Creates a builder for thestupid_backoffSmoothingModelvariant.static SmoothingModelstupidBackoff(Function<StupidBackoffSmoothingModel.Builder, ObjectBuilder<StupidBackoffSmoothingModel>> fn) Creates a SmoothingModel of thestupid_backoffSmoothingModelvariant.
-
Method Details
-
laplace
Creates a builder for thelaplaceSmoothingModelvariant. -
laplace
public static SmoothingModel laplace(Function<LaplaceSmoothingModel.Builder, ObjectBuilder<LaplaceSmoothingModel>> fn) Creates a SmoothingModel of thelaplaceSmoothingModelvariant. -
linearInterpolation
Creates a builder for thelinear_interpolationSmoothingModelvariant. -
linearInterpolation
public static SmoothingModel linearInterpolation(Function<LinearInterpolationSmoothingModel.Builder, ObjectBuilder<LinearInterpolationSmoothingModel>> fn) Creates a SmoothingModel of thelinear_interpolationSmoothingModelvariant. -
stupidBackoff
Creates a builder for thestupid_backoffSmoothingModelvariant. -
stupidBackoff
public static SmoothingModel stupidBackoff(Function<StupidBackoffSmoothingModel.Builder, ObjectBuilder<StupidBackoffSmoothingModel>> fn) Creates a SmoothingModel of thestupid_backoffSmoothingModelvariant.
-