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 Apache Wiki <wi...@apache.org> on 2008/09/30 18:01:36 UTC

[Solr Wiki] Update of "SearchComponent" by ryan

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 ryan:
http://wiki.apache.org/solr/SearchComponent

------------------------------------------------------------------------------
   * facet - [http://lucene.apache.org/solr/api/org/apache/solr/handler/component/FacetComponent.html FacetComponent]
   * mlt - [http://lucene.apache.org/solr/api/org/apache/solr/handler/component/MoreLikeThisComponent.html MoreLikeThis]
   * highlight - [http://lucene.apache.org/solr/api/org/apache/solr/handler/component/HighlightComponent.html Highlighting]
+  * stats - [http://lucene.apache.org/solr/api/org/apache/solr/handler/component/StatsComponent.html Statistics] <!> ["Solr1.4"]
   * debug - [http://lucene.apache.org/solr/api/org/apache/solr/handler/component/DebugComponent.html Debug]
  
  These examples are enabled by default, but can be overridden by writing your own class that extends SearchComponent and then declare it in the [http://wiki.apache.org/solr/SolrConfigXml solrconfig.xml] with the appropriate name.  For instance, to override the "query" component, one would declare:
@@ -21, +22 @@

   * SpellCheckComponent -- Exposes advanced support for spell checking such as multiple (per-field) dictionaries, loading dictionaries from files, lucene indices and Solr fields, support for analyzers, collation, query parsing and pluggable spell checker implementations. The default implementation provided with Solr uses the Lucene contrib !SpellChecker.
   * QueryElevationComponent -- Used to "elevate" results based on editorial decisions, not relevance.
   * TermVectorComponent -- Retrieve Term Vector information.  See https://issues.apache.org/jira/browse/SOLR-651 <!> ["Solr1.4"]
+  * StatsComponent -- Get Numeric field statistics.  See https://issues.apache.org/jira/browse/SOLR-680 <!> ["Solr1.4"]
  
  Components can also be initialized with !NamedList params.  For example, the Query Elevator (editorial boosting) can be declared with:
  {{{