fixed POST _search, updated the timestamp creation code