Switch to unified view

a/src/rcldb/rcldb_p.h b/src/rcldb/rcldb_p.h
...
...
15
 *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
15
 *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
16
 */
16
 */
17
17
18
#ifndef _rcldb_p_h_included_
18
#ifndef _rcldb_p_h_included_
19
#define _rcldb_p_h_included_
19
#define _rcldb_p_h_included_
20
21
#include <map>
20
22
21
#ifdef IDX_THREADS
23
#ifdef IDX_THREADS
22
#include "workqueue.h"
24
#include "workqueue.h"
23
#endif // IDX_THREADS
25
#endif // IDX_THREADS
24
#include "xapian.h"
26
#include "xapian.h"
...
...
109
        LOGDEB(("Native: worker status %ld\n", long(status)));
111
        LOGDEB(("Native: worker status %ld\n", long(status)));
110
    }
112
    }
111
#endif // IDX_THREADS
113
#endif // IDX_THREADS
112
    }
114
    }
113
115
116
    double qualityTerms(Xapian::docid docid, 
117
          Query *query,
118
          const vector<string>& terms,
119
          std::multimap<double, string>& byQ);
120
    void setDbWideQTermsFreqs(Query *query);
114
    vector<string> makeAbstract(Xapian::docid id, Query *query);
121
    vector<string> makeAbstract(Xapian::docid id, Query *query);
122
    bool getPagePositions(Xapian::docid docid, vector<int>& vpos);
123
    int getFirstMatchPage(Xapian::docid docid, Query *query);
115
124
116
    bool dbDataToRclDoc(Xapian::docid docid, std::string &data, Doc &doc);
125
    bool dbDataToRclDoc(Xapian::docid docid, std::string &data, Doc &doc);
117
126
118
    /** Compute list of subdocuments for a given udi. We look for documents 
127
    /** Compute list of subdocuments for a given udi. We look for documents 
119
     * indexed by a parent term matching the udi, the posting list for the 
128
     * indexed by a parent term matching the udi, the posting list for the