SOLR-6679: uncomment /suggest, but tie it to an sysprop so you have to go out of your way to enable on startup

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1645721 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Chris M. Hostetter 2014-12-15 18:50:54 +00:00
parent 4c76f8d13d
commit e002da2d6a
2 changed files with 11 additions and 5 deletions

View File

@ -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)

View File

@ -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>