Switch to unified view

a/src/rcldb/rclquery_p.h b/src/rcldb/rclquery_p.h
...
...
44
    // Term frequencies for current query. See makeAbstract, setQuery
44
    // Term frequencies for current query. See makeAbstract, setQuery
45
    map<string, double>  termfreqs; 
45
    map<string, double>  termfreqs; 
46
46
47
    Native(Query *q)
47
    Native(Query *q)
48
    : m_q(q), xenquire(0)
48
    : m_q(q), xenquire(0)
49
    { }
49
    { 
50
    }
50
    ~Native() {
51
    ~Native() 
52
    {
51
    clear();
53
    clear();
52
    }
54
    }
53
    void clear() {
55
    void clear() 
56
    {
54
    delete xenquire; xenquire = 0;
57
    delete xenquire; xenquire = 0;
55
    termfreqs.clear();
58
    termfreqs.clear();
56
    }
59
    }
60
    /** Return a list of terms which matched for a specific result document */
61
    bool getMatchTerms(unsigned long xdocid, std::vector<std::string>& terms);
57
    abstract_result makeAbstract(Xapian::docid id, vector<Snippet>&,
62
    abstract_result makeAbstract(Xapian::docid id, vector<Snippet>&,
58
                 int maxoccs = -1, int ctxwords = -1);
63
                 int maxoccs = -1, int ctxwords = -1);
59
    int getFirstMatchPage(Xapian::docid docid, std::string& term);
64
    int getFirstMatchPage(Xapian::docid docid, std::string& term);
60
    void setDbWideQTermsFreqs();
65
    void setDbWideQTermsFreqs();
61
    double qualityTerms(Xapian::docid docid, 
66
    double qualityTerms(Xapian::docid docid,