mirror of
https://github.com/kiwix/libkiwix.git
synced 2025-06-28 05:49:35 +00:00
+ clean code
This commit is contained in:
@ -22,23 +22,11 @@
|
||||
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);
|
||||
*/
|
||||
}
|
||||
|
||||
void XapianIndexer::indexingPrelude(const string indexPath) {
|
||||
|
Reference in New Issue
Block a user