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

Christine Poerschke commented on SOLR-14382:
--------------------------------------------

[https://github.com/apache/lucene-solr/pull/1401] has (work-in-progress) code.

Inputs and thoughts on the general use case (or not as the case may be) and/or 
configuration structure and/or the code/tests and/or other things etc. welcome 
and appreciated as usual. Thank you.

> delegating search component
> ---------------------------
>
>                 Key: SOLR-14382
>                 URL: https://issues.apache.org/jira/browse/SOLR-14382
>             Project: Solr
>          Issue Type: New Feature
>            Reporter: Christine Poerschke
>            Assignee: Christine Poerschke
>            Priority: Minor
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> An out-of-the-box search component that supports the configuration and 
> selective use of custom search components.
> Illustrative solrconfig.xml snippet:
> {code:java}
> <searchComponent name="queryDefault" 
> class="org.apache.solr.handler.component.QueryComponent"/>
> <searchComponent name="queryFoo" class="com.company.team.FooQueryComponent"/>
> <searchComponent name="queryBar" class="com.company.team.BarQueryComponent"/>
> <searchComponent name="query" 
> class="org.apache.solr.handler.component.DelegatingSearchComponent">
>   <str name="mappings.default">queryDefault</str>
>   <lst name="mappings">
>     <str name="foo">queryFoo</str>
>     <str name="bar">queryBar</str>
>   </lst>
> </searchComponent>
> {code}
> Illustrative queries:
>  * for {{/select?q=*:*}} the default case i.e. QueryComponent is used
>  * for {{/select?q=*:*&foo=true}} the FooQueryComponent is used
>  * for {{/select?q=*:*&bar=true}} the BarQueryComponent is used



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to