lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SOLR-4543) setting shardHandlerFactory in solr.xml/solr.properties does not work
Date Wed, 13 Mar 2013 14:16:13 GMT

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

Robert Muir updated SOLR-4543:
------------------------------

    Attachment: SOLR-4543.patch

updated patch: passing for .properties too.

This had 2 bugs:
1. unlike the xml case, resourceloader was not consistently set, so it was null.
2. attributes and arguments for the plugininfo were wrong: instead of "class=" they were shardHandlerFactory.class=
and so on, because the .properties prefix never got removed.
                
> setting shardHandlerFactory in solr.xml/solr.properties does not work
> ---------------------------------------------------------------------
>
>                 Key: SOLR-4543
>                 URL: https://issues.apache.org/jira/browse/SOLR-4543
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 4.2
>            Reporter: Ryan Ernst
>            Assignee: Erick Erickson
>             Fix For: 4.3, 5.0
>
>         Attachments: PATCH-4543.txt, SOLR-4543.patch, SOLR-4543.patch, SOLR-4543.patch
>
>
> solr.xml is supposed to allow solr/cores/shardHandlerFactory setting (and likewise, the
new solr.properties has shardHandlerFactory.class).  However, the code that reads this setting
(ConfigSolrXmlBackCompat and SolrProperties) always instantiates an HttpShardHandlerFactory.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message