lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Klaas (JIRA)" <>
Subject [jira] Updated: (SOLR-387) Add hooks to RequestHandlers so they can be more easily extended
Date Mon, 05 Nov 2007 20:13:53 GMT


Mike Klaas updated SOLR-387:

    Fix Version/s:     (was: 1.2)

It probably isn't a good idea to introduce functionality that we know will soon be obsolete.

> Add hooks to RequestHandlers so they can be more easily extended
> ----------------------------------------------------------------
>                 Key: SOLR-387
>                 URL:
>             Project: Solr
>          Issue Type: Improvement
>          Components: search
>    Affects Versions: 1.2
>            Reporter: Brian Durand
>            Priority: Trivial
>         Attachments: SOLR-387-Extensible-RequestHandlers.patch
> I have found a couple of instances where I need to hook code in to modify the queries
sent to RequestHandler and DisMaxRequestHandler before they are executed. The structure of
these classes under Solr 1.2 does not lend itself to this type of extension. I have a patch
which adds an additional method:
>     public void addCustomBehavior (SolrQueryRequest req, SolrQueryResponse rsp, List<Query>
queries, List<SortField> sortFields)
> Subclasses of the request handlers can then implement this method to hook in their custom
> This code fix would be made obsolete by SOLR-281 (Search Component Plugins)

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

View raw message