You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-commits@lucene.apache.org by gs...@apache.org on 2008/12/10 17:01:14 UTC
svn commit: r725318 - /lucene/solr/trunk/example/solr/conf/solrconfig.xml
Author: gsingers
Date: Wed Dec 10 08:01:14 2008
New Revision: 725318
URL: http://svn.apache.org/viewvc?rev=725318&view=rev
Log:
Add a comment on the use of the example SpellCheckComponent Request Handler
Modified:
lucene/solr/trunk/example/solr/conf/solrconfig.xml
Modified: lucene/solr/trunk/example/solr/conf/solrconfig.xml
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/example/solr/conf/solrconfig.xml?rev=725318&r1=725317&r2=725318&view=diff
==============================================================================
--- lucene/solr/trunk/example/solr/conf/solrconfig.xml (original)
+++ lucene/solr/trunk/example/solr/conf/solrconfig.xml Wed Dec 10 08:01:14 2008
@@ -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 -->