1 MODULE = Search::Xapian PACKAGE = Search::Xapian::Document
8 RETVAL = new Document();
16 RETVAL = new Document(*other);
21 Document::get_value(valueno valno)
24 RETVAL = THIS->get_value(valno);
32 Document::add_value(valno, value)
37 THIS->add_value(valno, value);
43 Document::remove_value(valueno valno)
46 THIS->remove_value(valno);
52 Document::clear_values()
58 RETVAL = THIS->get_data();
66 Document::set_data(data)
72 Document::add_posting(tname, tpos, wdfinc = NO_INIT)
78 if (items == 4) { /* items includes the hidden this pointer */
79 THIS->add_posting(tname, tpos, wdfinc);
81 THIS->add_posting(tname, tpos);
88 Document::add_term(tname, wdfinc = NO_INIT)
93 if (items == 3) { /* items includes the hidden this pointer */
94 THIS->add_term(tname, wdfinc);
96 THIS->add_term(tname);
103 Document::add_boolean_term(tname)
107 THIS->add_boolean_term(tname);
113 Document::remove_posting(tname, tpos, wdfdec = NO_INIT)
119 if (items == 4) { /* items includes the hidden this pointer */
120 THIS->remove_posting(tname, tpos, wdfdec);
122 THIS->remove_posting(tname, tpos);
129 Document::remove_term(tname)
133 THIS->remove_term(tname);
139 Document::clear_terms()
142 Document::termlist_count()
145 RETVAL = THIS->termlist_count();
153 Document::termlist_begin()
156 RETVAL = new TermIterator(THIS->termlist_begin());
164 Document::termlist_end()
166 RETVAL = new TermIterator(THIS->termlist_end());
171 Document::values_count()
174 RETVAL = THIS->values_count();
182 Document::values_begin()
185 RETVAL = new ValueIterator(THIS->values_begin());
193 Document::values_end()
195 RETVAL = new ValueIterator(THIS->values_end());
200 Document::get_docid()
203 RETVAL = THIS->get_docid();
211 Document::get_description()