inveniosoftware / invenio-stats

Statistical data processing and querying for Invenio.
https://invenio-stats.readthedocs.io
MIT License
8 stars 24 forks source link

aggr: consider updated_timestamp field optional #145

Closed ntarocco closed 8 months ago

ntarocco commented 8 months ago
ntarocco commented 8 months ago

@kpsherva after chatting with @psaiz, we were missing this upgrade command:

my_date = datetime.utcnow().isoformat()
painless = f'ctx._source.updated_timestamp="{my_date}";'