Hi i only used elasticsearch for centralised logging before,
we are considering to use elasticsearch to index analytics data for our apps for easier aggregation.
For upsert convenience i was thinking to use the date as id.
Example: {provider}/{analytics-type}{app-id}/2016-02-03__US
From my understanding if i want to aggregate over multiple specific types i can just do:
{provider}/country_app1,country_app2,...
I obviously still will have all the information like provider, app-id and co inside the document.
Is there any downside to using the date as _id that i am missing?