xapian-core
1.4.26
|
Index each paragraph of a text file as a Xapian document. More...
Go to the source code of this file.
Functions | |
int | main (int argc, char **argv) |
Index each paragraph of a text file as a Xapian document.
Definition in file simpleindex.cc.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 36 of file simpleindex.cc.
References Xapian::WritableDatabase::add_document(), Xapian::WritableDatabase::commit(), Xapian::DB_CREATE_OR_OPEN, Xapian::Error::get_description(), Xapian::TermGenerator::index_text(), Xapian::Document::set_data(), Xapian::TermGenerator::set_document(), Xapian::TermGenerator::set_stemmer(), Xapian::TermGenerator::set_stemming_strategy(), Xapian::TermGenerator::STEM_SOME_FULL_POS, and stemmer.