You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ho...@apache.org on 2014/12/15 19:50:54 UTC

svn commit: r1645721 - in /lucene/dev/trunk/solr: CHANGES.txt server/solr/configsets/sample_techproducts_configs/conf/solrconfig.xml

Author: hossman
Date: Mon Dec 15 18:50:54 2014
New Revision: 1645721

URL: http://svn.apache.org/r1645721
Log:
SOLR-6679: uncomment /suggest, but tie it to an sysprop so you have to go out of your way to enable on startup

Modified:
    lucene/dev/trunk/solr/CHANGES.txt
    lucene/dev/trunk/solr/server/solr/configsets/sample_techproducts_configs/conf/solrconfig.xml

Modified: lucene/dev/trunk/solr/CHANGES.txt
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/CHANGES.txt?rev=1645721&r1=1645720&r2=1645721&view=diff
==============================================================================
--- lucene/dev/trunk/solr/CHANGES.txt (original)
+++ lucene/dev/trunk/solr/CHANGES.txt Mon Dec 15 18:50:54 2014
@@ -298,9 +298,9 @@ Bug Fixes
 * SOLR-6721: ZkController.ensureReplicaInLeaderInitiatedRecovery puts replica
   in local map before writing to ZK. (shalin)
 
-* SOLR-6679: Remove suggester component from stock solrconfig.xml since
+* SOLR-6679: Disabled suggester component from techproduct solrconfig.xml since
   it caused long startup times on lage indexes even when it wasn't used.
-  (yonik)
+  (yonik, hossman)
 
 * SOLR-6738: Admin UI - Escape Data on Plugins-View (steffkes)
 

Modified: lucene/dev/trunk/solr/server/solr/configsets/sample_techproducts_configs/conf/solrconfig.xml
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/server/solr/configsets/sample_techproducts_configs/conf/solrconfig.xml?rev=1645721&r1=1645720&r2=1645721&view=diff
==============================================================================
--- lucene/dev/trunk/solr/server/solr/configsets/sample_techproducts_configs/conf/solrconfig.xml (original)
+++ lucene/dev/trunk/solr/server/solr/configsets/sample_techproducts_configs/conf/solrconfig.xml Mon Dec 15 18:50:54 2014
@@ -1359,8 +1359,13 @@
     </arr>
   </requestHandler>
 
-  <!-- This causes long startup times on big indexes, even when never used.  See SOLR-6679
-  <searchComponent name="suggest" class="solr.SuggestComponent">
+  <!-- This is disabled by default because it currently causes long startup times on 
+       big indexes, even when never used.  See SOLR-6679 for background.
+
+       To use this suggester, set the "solr.suggester.enabled=true" system property
+    -->
+  <searchComponent name="suggest" class="solr.SuggestComponent" 
+                   enable="${solr.suggester.enabled:false}"     >
     <lst name="suggester">
       <str name="name">mySuggester</str>
       <str name="lookupImpl">FuzzyLookupFactory</str>      
@@ -1371,7 +1376,8 @@
     </lst>
   </searchComponent>
 
-  <requestHandler name="/suggest" class="solr.SearchHandler" startup="lazy">
+  <requestHandler name="/suggest" class="solr.SearchHandler" 
+                  startup="lazy" enable="${solr.suggester.enabled:false}" >
     <lst name="defaults">
       <str name="suggest">true</str>
       <str name="suggest.count">10</str>