- Publicity:
Public Only
All
search-init.tcl
Procedures in this file
Detailed information
[
hide source ]
| [
make this
the default ]
Content File Source
namespace eval search {}
namespace eval search::init {}
if { [ns_config "ns/db/drivers" oracle] ne "" } {
nsv_set search_static_variables item_counter 0
}
ad_proc -private search::init::schedule_indexer {} {} {
apm_flush_package_id_cache search
set package_id [apm_package_id_from_key search]
if { $package_id != 0 } {
ad_schedule_proc \
-thread t [parameter::get \
-package_id $package_id \
-parameter SearchIndexerInterval \
-default 60 ] \
search::indexer
}
}
search::init::schedule_indexer