#include "indri/RepositoryMaintenanceThread.hpp"#include "indri/Repository.hpp"#include "indri/ScopedLock.hpp"#include <iostream>Functions | |
| float | maintenance_smoothed_load (indri::collection::Repository::Load &load) |
| bool | maintenance_should_merge (indri::collection::Repository::index_state &state, indri::collection::Repository::Load &documentLoad, indri::collection::Repository::Load &queryLoad, UINT64 lastThrashing) |
| bool | maintenance_should_trim (indri::collection::Repository::index_state &state, indri::collection::Repository::Load &documentLoad, indri::collection::Repository::Load &queryLoad, UINT64 lastThrashing) |
Variables | |
| const UINT64 | TIME_DELAY = 10*1000*1000 |
| const UINT64 | SHORT_TIME_DELAY = 3*1000*1000 |
| const UINT64 | THRASHING_MERGE_DELAY = 300*1000*1000 |
| const int | MAXIMUM_INDEX_COUNT = 50 |
|
||||||||||||||||||||
|
|
|
||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.3.4