wavefarm / api

API for Wave Farm sites
0 stars 1 forks source link

Add "timestamp" datetime to items #37

Closed gsf closed 9 years ago

gsf commented 9 years ago

We have been adding "timestamp" on import from the old database but knowing both "created" and "modified" is important.

gsf commented 9 years ago

Should be able to rely on http://www.elastic.co/guide/en/elasticsearch/reference/current/mapping-timestamp-field.html for "modified".

gsf commented 9 years ago

On the other hand, if "modified" is not automatically set by elasticsearch (just in the item-set route), then bulk operations could be run without affecting the "modified" timestamp.