Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Lucene: Java-Dev

[jira] [Commented] (SOLR-3095) update processor chain should check for "enable" attribute on all processors

 

 

Lucene java-dev RSS feed   Index | Next | Previous | View Threaded


jira at apache

Feb 3, 2012, 6:01 PM

Post #1 of 1 (27 views)
Permalink
[jira] [Commented] (SOLR-3095) update processor chain should check for "enable" attribute on all processors

[ https://issues.apache.org/jira/browse/SOLR-3095?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13200268#comment-13200268 ]

Hoss Man commented on SOLR-3095:
--------------------------------

I started trying to hack together a patch for this and then realized: i'm pretty sure this already works because of how PluginInfo.loadSubPlugins works (it ignores "children" that is false==isEnabled())

so all we need is a test case to verify and future proof.

> update processor chain should check for "enable" attribute on all processors
> ----------------------------------------------------------------------------
>
> Key: SOLR-3095
> URL: https://issues.apache.org/jira/browse/SOLR-3095
> Project: Solr
> Issue Type: Improvement
> Reporter: Hoss Man
>
> many types of plugins in Solr allow you to specify an "enabled" boolean when configuring them, so you can use system properties in the configuration file to determine at run time if they are actually used -- we should add low level support for this type of setting on the individual processor declarations in the UpdateRequestProcessorChain as well, so individual update processor factories don't have to deal with this.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe [at] lucene
For additional commands, e-mail: dev-help [at] lucene

Lucene java-dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.