|
a/src/rcldb/rcldb.cpp |
|
b/src/rcldb/rcldb.cpp |
|
... |
|
... |
194 |
#ifdef DEBUGABSTRACT
|
194 |
#ifdef DEBUGABSTRACT
|
195 |
#define LOGABS LOGDEB
|
195 |
#define LOGABS LOGDEB
|
196 |
#else
|
196 |
#else
|
197 |
#define LOGABS LOGDEB2
|
197 |
#define LOGABS LOGDEB2
|
198 |
#endif
|
198 |
#endif
|
|
|
199 |
#if 0
|
199 |
static void listList(const string& what, const list<string>&l)
|
200 |
static void listList(const string& what, const list<string>&l)
|
200 |
{
|
201 |
{
|
201 |
string a;
|
202 |
string a;
|
202 |
for (list<string>::const_iterator it = l.begin(); it != l.end(); it++) {
|
203 |
for (list<string>::const_iterator it = l.begin(); it != l.end(); it++) {
|
203 |
a = a + *it + " ";
|
204 |
a = a + *it + " ";
|
204 |
}
|
205 |
}
|
205 |
LOGDEB(("%s: %s\n", what.c_str(), a.c_str()));
|
206 |
LOGDEB(("%s: %s\n", what.c_str(), a.c_str()));
|
206 |
}
|
207 |
}
|
|
|
208 |
#endif
|
207 |
|
209 |
|
208 |
// Build a document abstract by extracting text chunks around the query terms
|
210 |
// Build a document abstract by extracting text chunks around the query terms
|
209 |
// This uses the db termlists, not the original document.
|
211 |
// This uses the db termlists, not the original document.
|
210 |
//
|
212 |
//
|
211 |
// DatabaseModified and other general exceptions are catched and
|
213 |
// DatabaseModified and other general exceptions are catched and
|