lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raintung Li (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SOLR-4014) Add plugin module in the solr core for request handler(path)
Date Tue, 30 Oct 2012 06:20:16 GMT
Raintung Li created SOLR-4014:
---------------------------------

             Summary: Add plugin module in the solr core for request handler(path)
                 Key: SOLR-4014
                 URL: https://issues.apache.org/jira/browse/SOLR-4014
             Project: Solr
          Issue Type: Improvement
          Components: Schema and Analysis
    Affects Versions: 4.0, 4.0-BETA, 4.0-ALPHA
         Environment: Solr core 
            Reporter: Raintung Li


Solr can't add flexible some plugins in the handler that means have to rewrite the self handle
if you want to append new functional. Ex. Validation module 

The plugin module can be setting in the solrconfig.xml, the default plugin can be request
parameter that it is same as SolrPluginUtils.setDefaults behavior.

If customer want to add some new/common function, don't need write the self handler, only
add a new plugin and configure it in the xml file.

Config XML format:
 <requestHandler name="/select" class="solr.SearchHandler">
  	<plugin class="validateplugin,class" />
 </requestHandler>

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message