You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
ng-druid
changed the title
Add military_hour field to renewable-record-* documents
Add military_hour and region_military_hour fields to renewable-record-* and carbon-intensity-* documents
Aug 2, 2023
Executed below in dashboards on prod as a quick win but this needs to be added to each renewable record document created.
indexes:
POST renewable-record-001/_update_by_query
Exclude documents that already have military hour.
POST renewable-record-001/_update_by_query
This needs to be added to optimize the buckets for creating the radial graph. Otherwise a scripted agg needs to be used which is incredibly slow.
Query for graph
POST renewable-record-001/_search
Create field that combines region and military time for added optimization for aggregate calc.
POST your_index_name/_update_by_query
Query to add new field but skip over documents with the field already.
POST renewable-record-001/_update_by_query
corrected
POST renewable-record-001/_update_by_query
This is correct hover its still slow and has a limit.
POST renewable-record-001/_search
The text was updated successfully, but these errors were encountered: