mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-27 15:39:49 +00:00
Fix value of HoltWinters seasonality param in builder
Should be `type`, not `seasonalityType`
This commit is contained in:
parent
531b894b5d
commit
1504b3d97d
@ -470,7 +470,7 @@ public class HoltWintersModel extends MovAvgModel {
|
||||
}
|
||||
|
||||
if (seasonalityType != null) {
|
||||
builder.field("seasonalityType", seasonalityType);
|
||||
builder.field("type", seasonalityType.getName());
|
||||
}
|
||||
|
||||
builder.endObject();
|
||||
|
Loading…
x
Reference in New Issue
Block a user