mirror of https://github.com/kiwix/libkiwix.git
+ clean code
This commit is contained in:
parent
10d855ced5
commit
4f692eabd1
|
@ -22,23 +22,11 @@
|
||||||
namespace kiwix {
|
namespace kiwix {
|
||||||
|
|
||||||
/* Constructor */
|
/* Constructor */
|
||||||
XapianIndexer::XapianIndexer() {
|
XapianIndexer::XapianIndexer() :
|
||||||
/* Stemming */
|
|
||||||
/*
|
/*
|
||||||
stemmer = Xapian::Stem("french");
|
stemmer(Xapian::Stem("french")) {
|
||||||
indexer.set_stemmer(stemmer);
|
this->indexer.set_stemmer(this->stemmer);
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* Stop words */
|
|
||||||
/*
|
|
||||||
std::vector<std::string>::const_iterator stopWordsIterator = this->stopWords.begin();
|
|
||||||
this->stopper.add("ceci");
|
|
||||||
while (stopWordsIterator != this->stopWords.end()) {
|
|
||||||
this->stopper.add(*stopWordsIterator);
|
|
||||||
stopWordsIterator++;
|
|
||||||
}
|
|
||||||
indexer.set_stopper(&(this->stopper));
|
|
||||||
*/
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void XapianIndexer::indexingPrelude(const string indexPath) {
|
void XapianIndexer::indexingPrelude(const string indexPath) {
|
||||||
|
|
Loading…
Reference in New Issue