Mercurial Hosting > nabble
comparison src/global/web/Index.jtp @ 53:56accc959f8c
remove SORT_BY_VALUE
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Tue, 06 Jul 2021 20:19:14 -0600 |
parents | 72765b66e2c3 |
children | 11e847f25845 |
comparison
equal
deleted
inserted
replaced
52:7df8ec497281 | 53:56accc959f8c |
---|---|
152 { | 152 { |
153 IndexSearcher searcher; | 153 IndexSearcher searcher; |
154 TopDocs hits; | 154 TopDocs hits; |
155 try { | 155 try { |
156 searcher = new IndexSearcher(Site.dir()); | 156 searcher = new IndexSearcher(Site.dir()); |
157 hits = searcher.search( query, 60, Site.SORT_BY_VALUE ); | 157 hits = searcher.search( query, 60, Site.SORT_BY_ACTIVITY ); |
158 } catch(IOException e) { | 158 } catch(IOException e) { |
159 logger.error("Index error", e); | 159 logger.error("Index error", e); |
160 %>[Rebuilding Index]<% | 160 %>[Rebuilding Index]<% |
161 return; | 161 return; |
162 } | 162 } |