|
... |
|
... |
91 |
reason = "Could not open database in " +
|
91 |
reason = "Could not open database in " +
|
92 |
rclconfig->getDbDir() + " wait for indexing to complete?";
|
92 |
rclconfig->getDbDir() + " wait for indexing to complete?";
|
93 |
return false;
|
93 |
return false;
|
94 |
}
|
94 |
}
|
95 |
rcldb->setAbstractParams(-1, prefs.syntAbsLen, prefs.syntAbsCtx);
|
95 |
rcldb->setAbstractParams(-1, prefs.syntAbsLen, prefs.syntAbsCtx);
|
|
|
96 |
return true;
|
|
|
97 |
}
|
|
|
98 |
|
|
|
99 |
bool getStemLangs(list<string>& langs)
|
|
|
100 |
{
|
|
|
101 |
string reason;
|
|
|
102 |
if (!maybeOpenDb(reason)) {
|
|
|
103 |
LOGERR(("getStemLangs: %s\n", reason.c_str()));
|
|
|
104 |
return false;
|
|
|
105 |
}
|
|
|
106 |
langs = rcldb->getStemLangs();
|
96 |
return true;
|
107 |
return true;
|
97 |
}
|
108 |
}
|
98 |
|
109 |
|
99 |
static void recollCleanup()
|
110 |
static void recollCleanup()
|
100 |
{
|
111 |
{
|