preliminary implementation for the snippets "open to page" popup window
This commit is contained in:
parent
ab85754757
commit
c2dab20d7e
15 changed files with 349 additions and 35 deletions
|
@ -89,7 +89,8 @@ class Db::Native {
|
|||
const vector<string>& terms,
|
||||
std::multimap<double, string>& byQ);
|
||||
void setDbWideQTermsFreqs(Query *query);
|
||||
vector<string> makeAbstract(Xapian::docid id, Query *query);
|
||||
bool makeAbstract(Xapian::docid id, Query *query,
|
||||
vector<pair<int, string> >&);
|
||||
bool getPagePositions(Xapian::docid docid, vector<int>& vpos);
|
||||
int getFirstMatchPage(Xapian::docid docid, Query *query);
|
||||
int getPageNumberForPosition(const vector<int>& pbreaks, unsigned int pos);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue