Just to make it easier to visually identify where one document ends
and the next begins.
{
Xapian::TermIterator i;
- printf ("Terms:\n");
+ printf (" Terms:\n");
for (i = doc.termlist_begin (); i != doc.termlist_end (); i++)
cout << "\t" << *i << endl;
int value_no, value_int;
double value_float;
- printf ("Values:\n");
+ printf (" Values:\n");
for (i = doc.values_begin (); i != doc.values_end (); i++) {
value_no = i.get_valueno();
doc = db.get_document (id);
- printf ("Data:\n");
+ printf (" Data:\n");
cout << "\t" << doc.get_data () << endl;
print_document_terms (doc);