Switch to side-by-side view
--- a/src/query/xadump.cpp +++ b/src/query/xadump.cpp @@ -271,7 +271,7 @@ Xapian::PostingIterator doc; for (doc = db->postlist_begin(aterm); doc != db->postlist_end(aterm); doc++) { - cout << *doc << " : " ; + cout << *doc << "(" << doc.get_wdf() << ") : " ; Xapian::PositionIterator pos; for (pos = doc.positionlist_begin(); pos != doc.positionlist_end(); pos++) {