* mu-store-xapian: remove the 'tune' function

This commit is contained in:
Dirk-Jan C. Binnema 2009-11-26 09:02:58 +02:00
parent 2b0aca1bf7
commit 2d96fcd210
2 changed files with 2 additions and 16 deletions

View File

@ -51,7 +51,7 @@ mu_store_xapian_new (const char* path)
(path,Xapian::DB_CREATE_OR_OPEN);
/* keep count of processed docs */
store->_transaction_size = 10000; /* default */
store->_transaction_size = 1000; /* default */
store->_in_transaction = false;
store->_processed = 0;
@ -76,19 +76,6 @@ mu_store_xapian_new (const char* path)
}
void
mu_store_xapian_tune (MuStoreXapian *store,
unsigned int transaction_size)
{
g_return_if_fail (store);
if (transaction_size) {
g_message ("tune: setting xapian transaction size to %u",
transaction_size);
store->_transaction_size = transaction_size;
}
}
void
mu_store_xapian_destroy (MuStoreXapian *store)

View File

@ -31,8 +31,7 @@ struct _MuStoreXapian;
typedef struct _MuStoreXapian MuStoreXapian;
MuStoreXapian* mu_store_xapian_new (const char* path);
void mu_store_xapian_tune (MuStoreXapian *store,
unsigned int transaction_size);
void mu_store_xapian_destroy (MuStoreXapian *store);
MuResult mu_store_xapian_store (MuStoreXapian *store,
MuMsgGMime *msg);