lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Solr Wiki] Update of "SolrPlugins" by RobertMuir
Date Tue, 13 Apr 2010 14:04:29 GMT
Dear Wiki user,

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

The "SolrPlugins" page has been changed by RobertMuir.
The comment on this change is: update trunk location.
http://wiki.apache.org/solr/SolrPlugins?action=diff&rev1=37&rev2=38

--------------------------------------------------

  = Plugin Initialization =
  <!> [[Solr1.3]]
  
- Plugins are initialized either with [[http://svn.apache.org/repos/asf/lucene/solr/trunk/src/java/org/apache/solr/util/plugin/MapInitializedPlugin.java|init(
Map<String,String> args )]] or [[http://svn.apache.org/repos/asf/lucene/solr/trunk/src/java/org/apache/solr/util/plugin/NamedListInitializedPlugin.java|init(
NamedList args )]].
+ Plugins are initialized either with [[http://svn.apache.org/repos/asf/lucene/dev/trunk/solr/src/java/org/apache/solr/util/plugin/MapInitializedPlugin.java|init(
Map<String,String> args )]] or [[http://svn.apache.org/repos/asf/lucene/dev/trunk/solr/src/java/org/apache/solr/util/plugin/NamedListInitializedPlugin.java|init(
NamedList args )]].
  
  <!> [[Solr1.4]]
  
- Plugins can also be initialized with [[http://svn.apache.org/repos/asf/lucene/solr/trunk/src/java/org/apache/solr/util/plugin/PluginInfoInitialized.java|init(
PluginInfo info )]]. These Plugins can have children ( any Subnode with a "class" attribute
is considered a child ).
+ Plugins can also be initialized with [[http://svn.apache.org/repos/asf/lucene/dev/trunk/solr/src/java/org/apache/solr/util/plugin/PluginInfoInitialized.java|init(
PluginInfo info )]]. These Plugins can have children ( any Subnode with a "class" attribute
is considered a child ).
  If a pluginInfoInitialized Plugin wants to initialise these children in its {{{inform( core
)}}} method via {{{ core.create.createInitInstance() }}}, the children must not be !SolrCoreAware.
- see [[http://svn.apache.org/repos/asf/lucene/solr/trunk/src/java/org/apache/solr/core/PluginInfo.java|PluginInfo]].
+ see [[http://svn.apache.org/repos/asf/lucene/dev/trunk/solr/src/java/org/apache/solr/core/PluginInfo.java|PluginInfo]].
  
  
  == ResourceLoaderAware ==
- Classes that need to know about the [[http://svn.apache.org/repos/asf/lucene/solr/trunk/src/java/org/apache/solr/common/ResourceLoader.java|ResourceLoader]]
can implement [[http://svn.apache.org/repos/asf/lucene/solr/trunk/src/java/org/apache/solr/util/plugin/ResourceLoaderAware.java|ResourceLoaderAware]].
 Valid !ResourceLoaderAware include:
+ Classes that need to know about the [[http://svn.apache.org/repos/asf/lucene/dev/trunk/solr/src/java/org/apache/solr/common/ResourceLoader.java|ResourceLoader]]
can implement [[http://svn.apache.org/repos/asf/lucene/dev/trunk/solr/src/java/org/apache/solr/util/plugin/ResourceLoaderAware.java|ResourceLoaderAware]].
 Valid !ResourceLoaderAware include:
  
   * !TokenFilterFactory
   * !TokenizerFactory
   * !FieldType
  
  == SolrCoreAware ==
- Classes that need to know about the [SolrCore] can implement [[http://svn.apache.org/repos/asf/lucene/solr/trunk/src/java/org/apache/solr/util/plugin/SolrCoreAware.java|SolrCoreAware]].
  Classes implementing !SolrCoreAware must not have a dedicated Constructor. Valid !SolrCoreAware
classes include:
+ Classes that need to know about the [SolrCore] can implement [[http://svn.apache.org/repos/asf/lucene/dev/trunk/solr/src/java/org/apache/solr/util/plugin/SolrCoreAware.java|SolrCoreAware]].
  Classes implementing !SolrCoreAware must not have a dedicated Constructor. Valid !SolrCoreAware
classes include:
  
   * SolrRequestHandler
   * QueryResponseWriter

Mime
View raw message