+ 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,22 +22,10 @@
namespace kiwix {
/* Constructor */
XapianIndexer::XapianIndexer() {
/* Stemming */
XapianIndexer::XapianIndexer() :
/*
stemmer = Xapian::Stem("french");
indexer.set_stemmer(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));
stemmer(Xapian::Stem("french")) {
this->indexer.set_stemmer(this->stemmer);
*/
}