okfn/bibserver — Issue #189: web.py fails to create collection list ordered by _created
Author: markmacgillivray
Created: 2012-02-09 22:01:40+00:00
State: open

Upon pushing the changes to bibsoup I deleted then recreated the collection index. But this has resulted in the _created fields being indexed as strings and for some reason ES is refusing to sort by them. Even if they are no longer dates, they still are only mapped to one type. I do not know how we could reload them and have them show up as dates. I tried setting the mapping manually to put them as dates but it still refuses. On my test machine this works fine, presumably because all the dates are created directly when the record is created. For now I have changed web.py to just show a list.