Add a 'sha1' field to origin documents, used for sorting.
Sorting on the document id causes Elasticsearch to error because it uses too much memory.
Migrated from D2389 (view on Phabricator)
Sorting on the document id causes Elasticsearch to error because it uses too much memory.
Migrated from D2389 (view on Phabricator)