|
a/src/query/recollq.cpp |
|
b/src/query/recollq.cpp |
1 |
#ifndef lint
|
1 |
#ifndef lint
|
2 |
static char rcsid[] = "@(#$Id: recollq.cpp,v 1.19 2008-09-29 11:33:55 dockes Exp $ (C) 2006 J.F.Dockes";
|
2 |
static char rcsid[] = "@(#$Id: recollq.cpp,v 1.20 2008-10-13 08:23:36 dockes Exp $ (C) 2006 J.F.Dockes";
|
3 |
#endif
|
3 |
#endif
|
4 |
/*
|
4 |
/*
|
5 |
* This program is free software; you can redistribute it and/or modify
|
5 |
* This program is free software; you can redistribute it and/or modify
|
6 |
* it under the terms of the GNU General Public License as published by
|
6 |
* it under the terms of the GNU General Public License as published by
|
7 |
* the Free Software Foundation; either version 2 of the License, or
|
7 |
* the Free Software Foundation; either version 2 of the License, or
|
|
... |
|
... |
252 |
cout
|
252 |
cout
|
253 |
<< doc.mimetype.c_str() << "\t"
|
253 |
<< doc.mimetype.c_str() << "\t"
|
254 |
<< "[" << doc.url.c_str() << "]" << "\t"
|
254 |
<< "[" << doc.url.c_str() << "]" << "\t"
|
255 |
<< "[" << doc.meta[Rcl::Doc::keytt].c_str() << "]" << "\t"
|
255 |
<< "[" << doc.meta[Rcl::Doc::keytt].c_str() << "]" << "\t"
|
256 |
<< doc.fbytes.c_str() << "\tbytes" << "\t"
|
256 |
<< doc.fbytes.c_str() << "\tbytes" << "\t"
|
257 |
<< doc.dmtime.c_str() << "\tSecs" << "\t"
|
|
|
258 |
<< endl;
|
257 |
<< endl;
|
259 |
if (op_flags & OPT_m) {
|
258 |
if (op_flags & OPT_m) {
|
260 |
for (map<string,string>::const_iterator it = doc.meta.begin();
|
259 |
for (map<string,string>::const_iterator it = doc.meta.begin();
|
261 |
it != doc.meta.end(); it++) {
|
260 |
it != doc.meta.end(); it++) {
|
262 |
cout << it->first << " = " << it->second << endl;
|
261 |
cout << it->first << " = " << it->second << endl;
|