Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

changed example solrconfig.xml to default to lazy field loading

Mike Klaas6de7d1dbbcf5
diff --git a/example/solr/conf/solrconfig.xml b/example/solr/conf/solrconfig.xml
index cc5042761ef..307d0ef01a9 100755
--- a/example/solr/conf/solrconfig.xml
+++ b/example/solr/conf/solrconfig.xml
@@ -147,8 +147,12 @@
autowarmCount="0"/>
<!-- If true, stored fields that are not requested will be loaded lazily.
+
+ This can result in a significant speed improvement if the usual case is to
+ not load all stored fields, especially if the skipped fields are large compressed
+ text fields.
-->
- <enableLazyFieldLoading>false</enableLazyFieldLoading>
+ <enableLazyFieldLoading>true</enableLazyFieldLoading>
<!-- Example of a generic cache. These caches may be accessed by name
through SolrIndexSearcher.getCache(),cacheLookup(), and cacheInsert().