Document TermIterator::get_termfreq() quirk
commit5f8be092464b5649225dfc3a41850ef2ee334f39
authorOlly Betts <olly@survex.com>
Thu, 7 Dec 2023 03:08:51 +0000 (7 16:08 +1300)
committerOlly Betts <olly@survex.com>
Thu, 7 Dec 2023 03:48:34 +0000 (7 16:48 +1300)
tree7a868b3fd6e224947fc4001ea2867658c791b0de
parentaafb1aee4dccf8eb37830ce26b3075c7574e563c
Document TermIterator::get_termfreq() quirk

In the case of a TermIterator from termlist_begin() on a Document
from a sharded database, you get term frequencies from just the
shard.

Fixes #423

(cherry picked from commit ed5be3aee549cd295474ebe497f2a8512bb82f5e)
xapian-core/expand/expandweight.cc
xapian-core/include/xapian/document.h
xapian-core/include/xapian/termiterator.h