|
a/src/query/xadump.cpp |
|
b/src/query/xadump.cpp |
|
... |
|
... |
269 |
}
|
269 |
}
|
270 |
} else if (op_flags & OPT_P) {
|
270 |
} else if (op_flags & OPT_P) {
|
271 |
Xapian::PostingIterator doc;
|
271 |
Xapian::PostingIterator doc;
|
272 |
for (doc = db->postlist_begin(aterm);
|
272 |
for (doc = db->postlist_begin(aterm);
|
273 |
doc != db->postlist_end(aterm); doc++) {
|
273 |
doc != db->postlist_end(aterm); doc++) {
|
274 |
cout << *doc << " : " ;
|
274 |
cout << *doc << "(" << doc.get_wdf() << ") : " ;
|
275 |
Xapian::PositionIterator pos;
|
275 |
Xapian::PositionIterator pos;
|
276 |
for (pos = doc.positionlist_begin();
|
276 |
for (pos = doc.positionlist_begin();
|
277 |
pos != doc.positionlist_end(); pos++) {
|
277 |
pos != doc.positionlist_end(); pos++) {
|
278 |
cout << *pos << " " ;
|
278 |
cout << *pos << " " ;
|
279 |
}
|
279 |
}
|