]> Sergey Matveev's repositories - public-inbox.git/commit
search: simplify indexing operation
authorEric Wong <e@80x24.org>
Mon, 17 Aug 2015 16:49:31 +0000 (16:49 +0000)
committerEric Wong <e@80x24.org>
Mon, 17 Aug 2015 17:46:56 +0000 (17:46 +0000)
commitcc22505339e40fe45113ee39a4688070807eba58
tree072d2d783d99e38056326b5c27043e5236ae9595
parentc59caac2ee502dfd8b3acb1ca268c597719313f8
search: simplify indexing operation

There's no need to make a transaction for each message when doing
incremental indexing against a git repository.  While we're at it,
simplify the interface for callers, too and do not auto-create
the Xapian database if it was not explicitly enabled.
lib/PublicInbox/Search.pm
public-inbox-index
public-inbox-learn
public-inbox-mda
t/search.t