search: update whoosh fallback schema to sort on date too

This commit is contained in:
Daniel Dourvaris 2016-06-02 15:23:50 +03:00
parent 8f434d0117
commit 1e4d5986fb

View file

@ -63,7 +63,7 @@ COMMIT_SCHEMA = Schema(
repository_id=NUMERIC(unique=True, stored=True),
commit_idx=NUMERIC(stored=True, sortable=True),
commit_idx_sort=ID(),
date=NUMERIC(stored=True),
date=NUMERIC(stored=True, sortable=True),
owner=TEXT(stored=True),
author=TEXT(stored=True),
message=FieldType(format=Characters(), analyzer=ANALYZER,