diff --git a/src/index/beaglequeue.cpp b/src/index/beaglequeue.cpp index 8634b6e5..a54215be 100644 --- a/src/index/beaglequeue.cpp +++ b/src/index/beaglequeue.cpp @@ -207,7 +207,7 @@ BeagleQueueIndexer::BeagleQueueIndexer(RclConfig *cnf, Rcl::Db *db, if (ccdir.at(0) != '/') ccdir = path_cat(m_config->getConfDir(), ccdir); - int maxmbs = 20; + int maxmbs = 40; m_config->getConfParam("webcachemaxmbs", &maxmbs); m_cache = new CirCache(ccdir); m_cache->create(off_t(maxmbs)*1000*1024, CirCache::CC_CRUNIQUE); diff --git a/src/internfile/mh_text.cpp b/src/internfile/mh_text.cpp index 66ec6615..29ba3541 100644 --- a/src/internfile/mh_text.cpp +++ b/src/internfile/mh_text.cpp @@ -55,13 +55,13 @@ bool MimeHandlerText::set_document_file(const string &fn) } // Max file size parameter: texts over this size are not indexed - int maxmbs = -1; + int maxmbs = 20; RclConfig::getMainConfig()->getConfParam("textfilemaxmbs", &maxmbs); if (maxmbs == -1 || st.st_size / MB <= maxmbs) { // Text file page size: if set, we split text files into // multiple documents - int ps = -1; + int ps = 1000; RclConfig::getMainConfig()->getConfParam("textfilepagekbs", &ps); if (ps != -1) { ps *= KB; diff --git a/src/qtgui/confgui/confguiindex.cpp b/src/qtgui/confgui/confguiindex.cpp index 5049787c..73915f6d 100644 --- a/src/qtgui/confgui/confguiindex.cpp +++ b/src/qtgui/confgui/confguiindex.cpp @@ -176,7 +176,7 @@ ConfBeaglePanelW::ConfBeaglePanelW(QWidget *parent, ConfNull *config) ConfParamIntW *cp3 = new ConfParamIntW(gb1, lnk3, tr("Max. size for the web cache (MB)"), tr("Entries will be recycled once the size is reached"), - -1, 1000); + -1, 1000); cp3->setEnabled(cp1->m_cb->isOn()); connect(cp1->m_cb, SIGNAL(toggled(bool)), cp3, SLOT(setEnabled(bool))); diff --git a/src/qtgui/guiutils.cpp b/src/qtgui/guiutils.cpp index 26981d50..ee655a35 100644 --- a/src/qtgui/guiutils.cpp +++ b/src/qtgui/guiutils.cpp @@ -131,7 +131,7 @@ void rwSettings(bool writing) SETTING_RW(prefs.queryStemLang, "/Recoll/prefs/query/stemLang", , "english"); SETTING_RW(prefs.useDesktopOpen, - "/Recoll/prefs/useDesktopOpen", Bool, false); + "/Recoll/prefs/useDesktopOpen", Bool, true); SETTING_RW(prefs.keepSort, "/Recoll/prefs/keepSort", Bool, false); SETTING_RW(prefs.sortActive,