[ 
https://issues.apache.org/jira/browse/SOLR-225?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ryan McKinley updated SOLR-225:
-------------------------------

    Attachment: SOLR-225-HighlightingConfig.patch

no real changes... it applies cleanly with trunk.

> The plugin architecture seems like something tha could be made more general 
> than just plugins. 

It is a 95% duplicate of the RequestHandler plugin architecture.  The only 
reason it could not be identical was the lazy loading request handlers...

Currently solr has two plugin initialization types: 
1. init( NamedList args )
2. init( Map<String,String> args)

If we added an interface for each initalization type, we could probably do all 
plugin initalization with something like the PluginLoader class in this patch

class PluginLoader<T>
{
 public Map<String,T> load( NodeList nodes ) {
   ...
 }
}




> Allow pluggable Highlighting classes -- Formatters and Fragmenters
> ------------------------------------------------------------------
>
>                 Key: SOLR-225
>                 URL: https://issues.apache.org/jira/browse/SOLR-225
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Brian Whitman
>         Attachments: SOLR-225-HighlightingConfig.patch, 
> SOLR-225-HighlightingConfig.patch
>
>
> Highlighting should support a pluggable architecture similar to what is seen 
> with RequestHandlers, Fields, FieldTypes, etc
> '
> For more background:
> http://www.nabble.com/Custom-fragmenter-tf3681588.html#a10289335

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to