changeset 3684:810eb9c0f79a

xapian search results: remove strange statement disabling moin's weighting, fixes result list ordering
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sun, 08 Jun 2008 19:55:11 +0200
parents 9fe5af566195
children 79a7c1432121
files MoinMoin/search/builtin.py
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/search/builtin.py	Sun Jun 08 18:06:01 2008 +0200
+++ b/MoinMoin/search/builtin.py	Sun Jun 08 19:55:11 2008 +0200
@@ -469,7 +469,6 @@
         # when xapian was used, we can estimate the numer of matches
         # Note: hits can't be estimated by xapian with historysearch enabled
         if not self.request.cfg.xapian_index_history and hasattr(self, '_xapianMset'):
-            self.sort = None
             mset = self._xapianMset
             estimated_hits = (
                 (mset.get_matches_estimated() == mset.get_matches_upper_bound()