+ clean code

This commit is contained in:
kelson42 2012-09-02 08:15:56 +00:00
parent 10d855ced5
commit 4f692eabd1
1 changed files with 4 additions and 16 deletions

View File

@ -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) {