Skip to content

Commit 1741a92

Browse files
author
elasticsearchmachine
committed
[CI] Auto commit changes from spotless
1 parent 89ca6a3 commit 1741a92

File tree

1 file changed

+2
-14
lines changed
  • x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/expression/function/fulltext

1 file changed

+2
-14
lines changed

x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/expression/function/fulltext/Decay.java

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -508,13 +508,7 @@ static double processDateNanos(long value, long origin, long scale, long offset,
508508
};
509509
}
510510

511-
private static double decayDateLinear(
512-
long origin,
513-
Duration scale,
514-
Duration offset,
515-
double decay,
516-
ZonedDateTime docValueDate
517-
) {
511+
private static double decayDateLinear(long origin, Duration scale, Duration offset, double decay, ZonedDateTime docValueDate) {
518512
long docValue = docValueDate.toInstant().toEpochMilli();
519513
long offsetMillis = offset.toMillis();
520514
long scaleMillis = scale.toMillis();
@@ -536,13 +530,7 @@ private static double decayDateExp(long origin, Duration scale, Duration offset,
536530
return Math.exp(scaling * distance);
537531
}
538532

539-
private static double decayDateGauss(
540-
long origin,
541-
Duration scale,
542-
Duration offset,
543-
double decay,
544-
ZonedDateTime docValueDate
545-
) {
533+
private static double decayDateGauss(long origin, Duration scale, Duration offset, double decay, ZonedDateTime docValueDate) {
546534
long docValue = docValueDate.toInstant().toEpochMilli();
547535
long offsetMillis = offset.toMillis();
548536
long scaleMillis = scale.toMillis();

0 commit comments

Comments
 (0)