You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Sabyasachi Dalal (JIRA)" <ji...@apache.org> on 2007/12/10 13:20:43 UTC
[jira] Commented: (SOLR-281) Search Components (plugins)
[ https://issues.apache.org/jira/browse/SOLR-281?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12550031 ]
Sabyasachi Dalal commented on SOLR-281:
---------------------------------------
I am updating the distributed search patch (SOLR-303) with this patch.
I added the dist search components as,
<searchComponent name="gstat" class="org.apache.solr.handler.federated.component.GlobalCollectionStatComponent" />
<searchComponent name="mqp" class="org.apache.solr.handler.federated.component.MainQPhaseComponent" />
<searchComponent name="aqp" class="org.apache.solr.handler.federated.component.AuxiliaryQPhaseComponent" />
<requestHandler name="/search" class="solr.SearchHandler">
<lst name="defaults">
<str name="echoParams">explicit</str>
</lst>
<arr name="last-components">
<str>gstat</str>
<str>mqp</str>
<str>aqp</str>
</arr>
</requestHandler>
But it was not working. On debugging i found that these added components were not getting registered.
I made the following change in SolrCore.loadSearchComponents,
// NamedListPluginLoader<SearchComponent> loader = new NamedListPluginLoader<SearchComponent>( xpath, searchComponents );
NamedListPluginLoader<SearchComponent> loader = new NamedListPluginLoader<SearchComponent>( xpath, components );
> Search Components (plugins)
> ---------------------------
>
> Key: SOLR-281
> URL: https://issues.apache.org/jira/browse/SOLR-281
> Project: Solr
> Issue Type: New Feature
> Components: search
> Affects Versions: 1.3
> Reporter: Ryan McKinley
> Assignee: Ryan McKinley
> Fix For: 1.3
>
> Attachments: SOLR-281-ComponentInit.patch, SOLR-281-ComponentInit.patch, SOLR-281-SearchComponents.patch, SOLR-281-SearchComponents.patch, SOLR-281-SearchComponents.patch, SOLR-281-SearchComponents.patch, SOLR-281-SearchComponents.patch, SOLR-281-SearchComponents.patch, SOLR-281-SearchComponents.patch, SOLR-281-SearchComponents.patch, SOLR-281-SearchComponents.patch, solr-281.patch, solr-281.patch, solr-281.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.