[ 
https://issues.apache.org/jira/browse/SOLR-281?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12511678
 ] 

Pieter Berkel commented on SOLR-281:
------------------------------------

I really like this modular approach to handling search requests, it will 
greatly simplify the process of adding new functionality (e.g. collapsing, 
faceting, more-like-this) to existing handlers without the need for unnecessary 
code replication.  My primary goal is to extend the more-like-this handler 
capabilities and make them available to other handlers (such as dismax), and I 
think the proposed solution is a good approach.

Some issues that I can forsee though are:

1) Ordering: its fairly obvious that certain handlers need to be called before 
others (e.g. standard / dismax query parsing before faceting / highlighting) 
however there may be cases where the required sequence of events may be more 
subtle (e.g. faceting the results of a more-like-this query).  There probably 
needs to be some mechanism to determine the order in which the components are 
prepared / processed.

2) Dependancy: a situation may arise where a component depends on operations 
performed by another component (e.g. more-like-this may take advantage of the 
dismax 'bq' parameter), perhaps there needs to be some method of specifying 
component dependency so that the SearchHandler can load and process required 
components automatically?

I hope this make sense, I'm fairly new to Solr development so I'm afraid my 
contributions to this issue would be mostly limited to (hopefully helpful) 
ideas and suggestions however I'm happy to tinker with the patched code from 
above and help test this new component framework as it is developed.

cheers,
Pieter


> Search Components (plugins)
> ---------------------------
>
>                 Key: SOLR-281
>                 URL: https://issues.apache.org/jira/browse/SOLR-281
>             Project: Solr
>          Issue Type: New Feature
>            Reporter: Ryan McKinley
>         Attachments: SOLR-281-SearchComponents.patch
>
>
> A request handler with pluggable search components for things like:
>   - standard
>   - dismax
>   - more-like-this
>   - highlighting
>   - field collapsing 
> For more discussion, see:
> http://www.nabble.com/search-components-%28plugins%29-tf3898040.html#a11050274

-- 
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