Switch to unified view

a/src/rcldb/rcldb_p.h b/src/rcldb/rcldb_p.h
...
...
2
#define _rcldb_p_h_included_
2
#define _rcldb_p_h_included_
3
3
4
#include "xapian.h"
4
#include "xapian.h"
5
5
6
namespace Rcl {
6
namespace Rcl {
7
/* @(#$Id: rcldb_p.h,v 1.3 2008-07-29 06:25:29 dockes Exp $  (C) 2007 J.F.Dockes */
7
/* @(#$Id: rcldb_p.h,v 1.4 2008-09-05 10:34:17 dockes Exp $  (C) 2007 J.F.Dockes */
8
8
9
// Generic Xapian exception catching code. We do this quite often,
9
// Generic Xapian exception catching code. We do this quite often,
10
// and I have no idea how to do this except for a macro
10
// and I have no idea how to do this except for a macro
11
#define XCATCHERROR(MSG) \
11
#define XCATCHERROR(MSG) \
12
 catch (const Xapian::Error &e) {          \
12
 catch (const Xapian::Error &e) {          \
...
...
47
    ~Native() {
47
    ~Native() {
48
    }
48
    }
49
49
50
    string makeAbstract(Xapian::docid id, Query *query);
50
    string makeAbstract(Xapian::docid id, Query *query);
51
51
52
    bool dbDataToRclDoc(Xapian::docid docid, std::string &data, Doc &doc);
52
    bool dbDataToRclDoc(Xapian::docid docid, std::string &data, Doc &doc,
53
          int percent);
53
54
54
    /** Compute list of subdocuments for a given udi. We look for documents 
55
    /** Compute list of subdocuments for a given udi. We look for documents 
55
     * indexed by a parent term matching the udi, the posting list for the 
56
     * indexed by a parent term matching the udi, the posting list for the 
56
     * parentterm(udi)  (As suggested by James Aylett)
57
     * parentterm(udi)  (As suggested by James Aylett)
57
     *
58
     *