|
a/src/rcldb/rcldb.cpp |
|
b/src/rcldb/rcldb.cpp |
1 |
#ifndef lint
|
1 |
#ifndef lint
|
2 |
static char rcsid[] = "@(#$Id: rcldb.cpp,v 1.8 2005-01-26 11:47:27 dockes Exp $ (C) 2004 J.F.Dockes";
|
2 |
static char rcsid[] = "@(#$Id: rcldb.cpp,v 1.9 2005-01-26 13:03:02 dockes Exp $ (C) 2004 J.F.Dockes";
|
3 |
#endif
|
3 |
#endif
|
4 |
|
4 |
|
5 |
#include <sys/stat.h>
|
5 |
#include <sys/stat.h>
|
6 |
|
6 |
|
7 |
#include <iostream>
|
7 |
#include <iostream>
|
|
... |
|
... |
230 |
LOGERR(("Rcl::Db::add: unac failed\n"));
|
230 |
LOGERR(("Rcl::Db::add: unac failed\n"));
|
231 |
return false;
|
231 |
return false;
|
232 |
}
|
232 |
}
|
233 |
splitter.text_to_words(noacc);
|
233 |
splitter.text_to_words(noacc);
|
234 |
|
234 |
|
235 |
LOGDEB(("Rcl::Db::add: doc split\n"));
|
|
|
236 |
splitData.basepos += splitData.curpos + 100;
|
235 |
splitData.basepos += splitData.curpos + 100;
|
237 |
if (!dumb_string(doc.text, noacc)) {
|
236 |
if (!dumb_string(doc.text, noacc)) {
|
238 |
LOGERR(("Rcl::Db::add: dum_string failed\n"));
|
237 |
LOGERR(("Rcl::Db::add: dum_string failed\n"));
|
239 |
return false;
|
238 |
return false;
|
240 |
}
|
239 |
}
|