[
https://issues.apache.org/jira/browse/SOLR-4014?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Raintung Li updated SOLR-4014:
--
Description:
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=com.xxx.validateplugin.class /
/requestHandler
was:
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
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-ALPHA, 4.0-BETA, 4.0
Environment: Solr core
Reporter: Raintung Li
Labels: handler, plugin, request
Attachments: patch-SOLR-4014
Original Estimate: 48h
Remaining Estimate: 48h
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=com.xxx.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-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org