Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Solr Wiki" for change 
notification.

The following page has been changed by PeterWolanin:
http://wiki.apache.org/solr/TermsComponent

The comment on the change is:
adding an example of how to activate this in solrconfig.xml

------------------------------------------------------------------------------
  
  The following examples use the Solr tutorial example located in the 
<Solr>/example directory.
  
+ You can activate this component by adding to solrconfig.xml:
+ 
+ {{{
+   <searchComponent name="terms" 
class="org.apache.solr.handler.component.TermsComponent" />  
+   <!-- a request handler utilizing the elevator component -->
+   <requestHandler name="/autocomplete" class="solr.SearchHandler" 
startup="lazy">
+     <lst name="defaults">
+       <str name="echoParams">explicit</str>
+     </lst>
+     <arr name="components">
+       <str>terms</str>
+     </arr>
+   </requestHandler>
+ }}}
+ 
  == Simple ==
  {{{
  http://localhost:8983/solr/autoSuggest?terms=true&terms.fl=name

Reply via email to