mirror of https://github.com/kiwix/libkiwix.git
+ first steps for ctpp2 usage
This commit is contained in:
parent
8f11852627
commit
045717117e
|
@ -71,5 +71,10 @@ namespace kiwix {
|
||||||
|
|
||||||
return retVal;
|
return retVal;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const string Searcher::searchInIndexAndReturnHtml(string &search, const unsigned int resultsCount,
|
||||||
|
const string templatePath, const bool verbose) {
|
||||||
|
return "";
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -49,6 +49,8 @@ namespace kiwix {
|
||||||
void search(std::string &search, const unsigned int resultsCount, const bool verbose=false);
|
void search(std::string &search, const unsigned int resultsCount, const bool verbose=false);
|
||||||
bool getNextResult(string &url, string &title, unsigned int &score);
|
bool getNextResult(string &url, string &title, unsigned int &score);
|
||||||
void reset();
|
void reset();
|
||||||
|
const string searchInIndexAndReturnHtml(string &search, const unsigned int resultsCount,
|
||||||
|
const string templatePath, const bool verbose=false);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
virtual void closeIndex() = 0;
|
virtual void closeIndex() = 0;
|
||||||
|
|
Loading…
Reference in New Issue