|
a/src/rcldb/rclquery_p.h |
|
b/src/rcldb/rclquery_p.h |
|
... |
|
... |
32 |
class Query::Native {
|
32 |
class Query::Native {
|
33 |
public:
|
33 |
public:
|
34 |
/** The query I belong to */
|
34 |
/** The query I belong to */
|
35 |
Query *m_q;
|
35 |
Query *m_q;
|
36 |
|
36 |
|
37 |
|
|
|
38 |
/** query descriptor: terms and subqueries joined by operators
|
37 |
/** query descriptor: terms and subqueries joined by operators
|
39 |
* (or/and etc...)
|
38 |
* (or/and etc...)
|
40 |
*/
|
39 |
*/
|
41 |
Xapian::Query xquery;
|
40 |
Xapian::Query xquery;
|
42 |
|
41 |
|
|
... |
|
... |
53 |
}
|
52 |
}
|
54 |
void clear() {
|
53 |
void clear() {
|
55 |
delete xenquire; xenquire = 0;
|
54 |
delete xenquire; xenquire = 0;
|
56 |
termfreqs.clear();
|
55 |
termfreqs.clear();
|
57 |
}
|
56 |
}
|
|
|
57 |
abstract_result makeAbstract(Xapian::docid id, vector<pair<int, string> >&,
|
|
|
58 |
int maxoccs = -1, int ctxwords = -1);
|
|
|
59 |
int getFirstMatchPage(Xapian::docid docid);
|
|
|
60 |
void setDbWideQTermsFreqs();
|
|
|
61 |
double qualityTerms(Xapian::docid docid, const vector<string>& terms,
|
|
|
62 |
std::multimap<double, string>& byQ);
|
58 |
};
|
63 |
};
|
59 |
|
64 |
|
60 |
}
|
65 |
}
|
61 |
#endif /* _rclquery_p_h_included_ */
|
66 |
#endif /* _rclquery_p_h_included_ */
|