Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-4014

Add plugin module in the solr core for request handler(path)

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 4.0-ALPHA, 4.0-BETA, 4.0
    • None
    • Schema and Analysis
    • Solr core

    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>

      Attachments

        1. patch-SOLR-4014
          5 kB
          Raintung Li

        Activity

          People

            Unassigned Unassigned
            raintung.li Raintung Li
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - 48h
                48h
                Remaining:
                Remaining Estimate - 48h
                48h
                Logged:
                Time Spent - Not Specified
                Not Specified