Overhaul xapian-inspect and xapian-inspect-honey
commit42c4efe01e93bfd834e2adbb5618f5ab8395d57a
authorOlly Betts <olly@survex.com>
Thu, 22 Feb 2018 02:13:16 +0000 (22 15:13 +1300)
committerOlly Betts <olly@survex.com>
Thu, 22 Feb 2018 02:54:19 +0000 (22 15:54 +1300)
tree92601bb776b5d258aeba5098ec1a02aadf28f598
parentd42c06ba58b525fbbe57408c4e96a7d00bbb66dc
Overhaul xapian-inspect and xapian-inspect-honey

"goto" and "until" now go to the entry after if there's no exact match,
which seems more natural and fits better with how honey cursors work
internally.

Replace uses of find_entry() with find_entry_ge() or find_entry_lt().
I'm trying to eliminate HoneyCursor::find_entry(), and keeping the
glass and honey versions aligned makes for easier maintenance.
xapian-core/bin/xapian-inspect-honey.cc
xapian-core/bin/xapian-inspect.cc