Switch to unified view
a/src/query/recollq.cpp | b/src/query/recollq.cpp | ||
---|---|---|---|
... |
... |
||
379 | cout << doc.url << endl; |
379 | cout << doc.url << endl; |
380 | } else { |
380 | } else { |
381 | string titleorfn = doc.meta[Rcl::Doc::keytt]; |
381 | string titleorfn = doc.meta[Rcl::Doc::keytt]; |
382 | if (titleorfn.empty()) |
382 | if (titleorfn.empty()) |
383 | titleorfn = doc.meta[Rcl::Doc::keyfn]; |
383 | titleorfn = doc.meta[Rcl::Doc::keyfn]; |
384 | if (titleorfn.empty()) { |
||
385 | string url; |
||
386 | printableUrl(rclconfig->getDefCharset(), doc.url, url); |
||
387 | titleorfn = path_getsimple(url); |
||
388 | } |
||
384 | 389 | ||
385 | char cpc[20]; |
390 | char cpc[20]; |
386 | sprintf(cpc, "%d", doc.pc); |
391 | sprintf(cpc, "%d", doc.pc); |
387 | cout |
392 | cout |
388 | << doc.mimetype << "\t" |
393 | << doc.mimetype << "\t" |