From a68a023d474931d8dfad27596a16511851b4d063 Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Tue, 13 Oct 2009 13:21:47 -0700 Subject: [PATCH] xapian-dump: Add a little mor indentation Just to make it easier to visually identify where one document ends and the next begins. --- xapian-dump.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/xapian-dump.cc b/xapian-dump.cc index 9000567c..0364481f 100644 --- a/xapian-dump.cc +++ b/xapian-dump.cc @@ -44,7 +44,7 @@ print_document_terms (Xapian::Document doc) { Xapian::TermIterator i; - printf ("Terms:\n"); + printf (" Terms:\n"); for (i = doc.termlist_begin (); i != doc.termlist_end (); i++) cout << "\t" << *i << endl; @@ -67,7 +67,7 @@ print_document_values (Xapian::Document doc) 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(); @@ -98,7 +98,7 @@ print_document (Xapian::Database db, Xapian::docid id) doc = db.get_document (id); - printf ("Data:\n"); + printf (" Data:\n"); cout << "\t" << doc.get_data () << endl; print_document_terms (doc); -- 2.26.2