| commit | 8830bb53a4981a8d88977b8da2fae8c14349df17 | [log] [tgz] |
|---|---|---|
| author | Dave Borowitz <dborowitz@google.com> | Mon Sep 23 15:57:43 2013 -0700 |
| committer | Dave Borowitz <dborowitz@google.com> | Tue Sep 24 12:48:21 2013 -0700 |
| tree | 1de3649fe16734eb2b387227ce930a9e074bb0ab | |
| parent | 2dd0fc86a53a85ead5930ae5fd70546992d713de [diff] |
Return last N results by sortkey when using sortkey_after In the SQL index implementation, sortkey_after queries are always rewritten to use one of the ChangeAccess.*Prev() methods, which order results by sort key ascending. Update the Lucene implementations to match this sort order. Specify in the ChangeIndex javadoc that this sort order is required in such cases, since other code in QueryProcessor depends on this assumption. Change-Id: Ie35d2c6bd07963db6d33145a83493d12c6a4289d