xap_helper: drop terms+data from `mset' command
commit8e4426e3ff9e3dde861d4722b73b5a21c42910d4
authorEric Wong <e@80x24.org>
Wed, 24 Apr 2024 06:44:45 +0000 (24 06:44 +0000)
committerEric Wong <e@80x24.org>
Wed, 24 Apr 2024 21:34:46 +0000 (24 21:34 +0000)
tree8140d1a666bdb2504640c66d510c0d2bc1b2af05
parent5aa2ba6d74c3f6a7f62a091e5df8346bb6d5b35a
xap_helper: drop terms+data from `mset' command

Retrieving Xapian document terms, data (and possibly values) and
transferring to the Perl side would be an increase in complexity
and I/O both the Perl and C++ sides.  It would require more I/O
in C++ and transient memory use on the Perl side where slow mset
iteration gives an opportunity to dictate memory release rate.

So lets ignore the document-related stuff here for now for
ease-of-development.  We can reconsider this change if dropping
Xapian Perl bindings entirely and relying on JAOT C++ ever
becomes a possibility.
lib/PublicInbox/Search.pm
lib/PublicInbox/XapHelper.pm
lib/PublicInbox/xap_helper.h
lib/PublicInbox/xh_mset.h
t/cindex.t
t/xap_helper.t