lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Klaas (JIRA)" <j...@apache.org>
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

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

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: https://issues.apache.org/jira/browse/SOLR-387
>             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
code.
> This code fix would be made obsolete by SOLR-281 (Search Component Plugins)
> https://issues.apache.org/jira/browse/SOLR-281

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


Mime
View raw message