Class SmoothingModelBuilders
java.lang.Object
co.elastic.clients.elasticsearch.core.search.SmoothingModelBuilders
public class SmoothingModelBuilders
extends java.lang.Object
Builders for
SmoothingModel
variants.-
Method Summary
Modifier and Type Method Description static LaplaceSmoothingModel.Builder
laplace()
Creates a builder for thelaplace
SmoothingModel
variant.static SmoothingModel
laplace(java.util.function.Function<LaplaceSmoothingModel.Builder,ObjectBuilder<LaplaceSmoothingModel>> fn)
Creates a SmoothingModel of thelaplace
SmoothingModel
variant.static LinearInterpolationSmoothingModel.Builder
linearInterpolation()
Creates a builder for thelinear_interpolation
SmoothingModel
variant.static SmoothingModel
linearInterpolation(java.util.function.Function<LinearInterpolationSmoothingModel.Builder,ObjectBuilder<LinearInterpolationSmoothingModel>> fn)
Creates a SmoothingModel of thelinear_interpolation
SmoothingModel
variant.static StupidBackoffSmoothingModel.Builder
stupidBackoff()
Creates a builder for thestupid_backoff
SmoothingModel
variant.static SmoothingModel
stupidBackoff(java.util.function.Function<StupidBackoffSmoothingModel.Builder,ObjectBuilder<StupidBackoffSmoothingModel>> fn)
Creates a SmoothingModel of thestupid_backoff
SmoothingModel
variant.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
laplace
Creates a builder for thelaplace
SmoothingModel
variant. -
laplace
public static SmoothingModel laplace(java.util.function.Function<LaplaceSmoothingModel.Builder,ObjectBuilder<LaplaceSmoothingModel>> fn)Creates a SmoothingModel of thelaplace
SmoothingModel
variant. -
linearInterpolation
Creates a builder for thelinear_interpolation
SmoothingModel
variant. -
linearInterpolation
public static SmoothingModel linearInterpolation(java.util.function.Function<LinearInterpolationSmoothingModel.Builder,ObjectBuilder<LinearInterpolationSmoothingModel>> fn)Creates a SmoothingModel of thelinear_interpolation
SmoothingModel
variant. -
stupidBackoff
Creates a builder for thestupid_backoff
SmoothingModel
variant. -
stupidBackoff
public static SmoothingModel stupidBackoff(java.util.function.Function<StupidBackoffSmoothingModel.Builder,ObjectBuilder<StupidBackoffSmoothingModel>> fn)Creates a SmoothingModel of thestupid_backoff
SmoothingModel
variant.
-