1 MODULE = Search::Xapian PACKAGE = Search::Xapian::TermGenerator
8 RETVAL = XAPIAN_PERL_NEW(TermGenerator, ());
13 TermGenerator::set_stemmer(stemmer)
16 THIS->set_stemmer(*stemmer);
19 TermGenerator::set_stopper(stopper)
22 // Keep a reference to the currently set object.
23 XAPIAN_PERL_REF(TermGenerator, THIS, stopper, ST(1));
24 THIS->set_stopper(stopper);
27 TermGenerator::set_database(db)
30 THIS->set_database(*db);
33 TermGenerator::set_document(Document * doc)
35 THIS->set_document(*doc);
38 TermGenerator::get_document()
40 RETVAL = new Document(THIS->get_document());
45 TermGenerator::index_text(text, weight = 1, prefix = NO_INIT)
51 TermGenerator::set_flags(int toggle, int mask = 0)
53 RETVAL = THIS->set_flags(TermGenerator::flags(toggle),
54 TermGenerator::flags(mask));
59 TermGenerator::index_text_without_positions(text, weight = 1, prefix = NO_INIT)
65 TermGenerator::increase_termpos(termcount delta = 100)
68 TermGenerator::get_termpos()
71 TermGenerator::set_termpos(termcount termpos)
74 TermGenerator::get_description()
77 TermGenerator::DESTROY()
79 XAPIAN_PERL_DESTROY(TermGenerator, THIS);