comparison src/global/web/Index.java @ 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
75 { 75 {
76 IndexSearcher searcher; 76 IndexSearcher searcher;
77 TopDocs hits; 77 TopDocs hits;
78 try { 78 try {
79 searcher = new IndexSearcher(Site.dir()); 79 searcher = new IndexSearcher(Site.dir());
80 hits = searcher.search( query, 60, Site.SORT_BY_VALUE ); 80 hits = searcher.search( query, 60, Site.SORT_BY_ACTIVITY );
81 } catch(IOException e) { 81 } catch(IOException e) {
82 logger.error("Index error", e); 82 logger.error("Index error", e);
83 83
84 out.print( "[Rebuilding Index]" ); 84 out.print( "[Rebuilding Index]" );
85 85