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

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

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            raintung.li Raintung Li

            Dates

              Created:
              Updated:

              Time Tracking

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

                Slack

                  Issue deployment