Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

Add a comment on the use of the example SpellCheckComponent Request Handler

Grant Ingersollf85a03ffb025
diff --git a/example/solr/conf/solrconfig.xml b/example/solr/conf/solrconfig.xml
index a9006d44194..095cb99b50b 100755
--- a/example/solr/conf/solrconfig.xml
+++ b/example/solr/conf/solrconfig.xml
@@ -592,8 +592,15 @@
</lst>
</searchComponent>
- <!-- a request handler utilizing the spellcheck component. This is purely as an example.
- You will likely want to add the component to your already specified request handlers. -->
+ <!-- A request handler utilizing the spellcheck component.
+ ################################################################################################
+ NOTE: This is purely as an example. The whole purpose of the SpellCheckComponent is to hook it into
+ the request handler that handles (i.e. the standard or dismax SearchHandler)
+ queries such that a separate request is not needed to get suggestions.
+
+ IN OTHER WORDS, THERE IS REALLY GOOD CHANCE THE SETUP BELOW IS NOT WHAT YOU WANT FOR YOUR PRODUCTION SYSTEM!
+ ################################################################################################
+ -->
<requestHandler name="/spellCheckCompRH" class="solr.SearchHandler">
<lst name="defaults">
<!-- omp = Only More Popular -->