Commit 61b8ea55ec0f85c9eb77a11caec557c1c9e42f1b
1 parent
5ae295c3
KTS-673
"The search algorithm needs some work" Updated. Committed By: Conrad Vermeulen Reviewed By: Kevin Fourie git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@7340 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
13 additions
and
0 deletions
search2.php
| @@ -66,6 +66,19 @@ class SearchDispatcher extends KTStandardDispatcher { | @@ -66,6 +66,19 @@ class SearchDispatcher extends KTStandardDispatcher { | ||
| 66 | } | 66 | } |
| 67 | } | 67 | } |
| 68 | 68 | ||
| 69 | + function do_refreshLuceneStats() | ||
| 70 | + { | ||
| 71 | + session_unregister('LuceneStats'); | ||
| 72 | + redirect('/dashboard.php'); | ||
| 73 | + } | ||
| 74 | + | ||
| 75 | + function do_refreshDashboardStatus() | ||
| 76 | + { | ||
| 77 | + session_unregister('ExternalResourceStatus'); | ||
| 78 | + session_unregister('IndexingStatus'); | ||
| 79 | + redirect('/dashboard.php'); | ||
| 80 | + } | ||
| 81 | + | ||
| 69 | /** | 82 | /** |
| 70 | * Processes a query sent by HTTP POST in searchQuery. | 83 | * Processes a query sent by HTTP POST in searchQuery. |
| 71 | * | 84 | * |