about summary refs log tree commit homepage
path: root/script/public-inbox-init
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2018-07-18 11:53:24 -0500
committerEric Wong <e@80x24.org>2018-07-19 03:08:18 +0000
commit2b18ef9ca28e8c4e70a881dbad832d2f7cb838ee (patch)
tree47214a2a9e9891cc38f87f34fd89bb22cd914d3b /script/public-inbox-init
parent5d051e1de434490f46bff8bce82010a37a184976 (diff)
downloadpublic-inbox-2b18ef9ca28e8c4e70a881dbad832d2f7cb838ee.tar.gz
Create a new method add_xapian that holds all of the code to create
Xapian indexes.  The creation of this method simpliy involved
idenitifying the relevant code and moving it from add_message.

A call is added to add_xapian from add_message to keep everything
working as it currently does.  The new call is made conditional upon
index levels of 'full' and 'medium'.  The index levels that index
positions and terms the two things public-inbox uses Xapian to index.

Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Diffstat (limited to 'script/public-inbox-init')
0 files changed, 0 insertions, 0 deletions