summaryrefslogtreecommitdiffstats
path: root/searchcore
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@broadpark.no>2018-09-17 14:50:42 +0200
committerTor Egge <Tor.Egge@broadpark.no>2018-09-17 14:57:36 +0200
commit41541231f5f02e5298181b245a1b4da916ba37b2 (patch)
treef206af379c3abc6a9fcd5cfec9bdddc3ede16ece /searchcore
parent2e24a9228f20922cd0ea9d4a82f4d20934c25db2 (diff)
Stop using search.io setting from proton.def.
Files for indexed fields (posting lists and dictionaries) are now always memory mapped.
Diffstat (limited to 'searchcore')
-rw-r--r--searchcore/src/vespa/searchcore/proton/server/bootstrapconfigmanager.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/searchcore/src/vespa/searchcore/proton/server/bootstrapconfigmanager.cpp b/searchcore/src/vespa/searchcore/proton/server/bootstrapconfigmanager.cpp
index 0c2870ad35d..edbf0c631a5 100644
--- a/searchcore/src/vespa/searchcore/proton/server/bootstrapconfigmanager.cpp
+++ b/searchcore/src/vespa/searchcore/proton/server/bootstrapconfigmanager.cpp
@@ -84,7 +84,8 @@ BootstrapConfigManager::update(const ConfigSnapshot & snapshot)
tune._index._indexing._write.setFromConfig<ProtonConfig::Indexing::Write>(conf.indexing.write.io);
tune._index._indexing._read.setFromConfig<ProtonConfig::Indexing::Read>(conf.indexing.read.io);
tune._attr._write.setFromConfig<ProtonConfig::Attribute::Write>(conf.attribute.write.io);
- tune._index._search._read.setFromConfig<ProtonConfig::Search, ProtonConfig::Search::Mmap>(conf.search.io, conf.search.mmap);
+ tune._index._search._read.setWantMemoryMap();
+ tune._index._search._read.setFromMmapConfig<ProtonConfig::Search::Mmap>(conf.search.mmap);
tune._summary._write.setFromConfig<ProtonConfig::Summary::Write>(conf.summary.write.io);
tune._summary._seqRead.setFromConfig<ProtonConfig::Summary::Read>(conf.summary.read.io);
tune._summary._randRead.setFromConfig<ProtonConfig::Summary::Read, ProtonConfig::Summary::Read::Mmap>(conf.summary.read.io, conf.summary.read.mmap);