You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Hoss Man (JIRA)" <ji...@apache.org> on 2013/06/18 02:59:19 UTC
[jira] [Created] (SOLR-4934) Prevent runtime failure if users use
initargs "useCompoundFile" setting on LogMergePolicy or TieredMergePolicy
Hoss Man created SOLR-4934:
------------------------------
Summary: Prevent runtime failure if users use initargs "useCompoundFile" setting on LogMergePolicy or TieredMergePolicy
Key: SOLR-4934
URL: https://issues.apache.org/jira/browse/SOLR-4934
Project: Solr
Issue Type: Bug
Reporter: Hoss Man
Assignee: Hoss Man
Fix For: 5.0, 4.4
* LUCENE-5038 eliminated setUseCompoundFile(boolean) from the built in MergePolicies
* existing users may have configs that use <mergePolicy> init args to try and call that setter
* we already do some explicit checks for these MergePolices in SolrIndexConfig to deal with legacy syntax
* update the existing logic to remove "useCompoundFile" from the MergePolicy initArgs for these known policies if found, and log a warning.
(NOTE: i don't want to arbitrarily remove "useCompoundFile" from the initArgs regardless of class in case someone has a custom MergePolicy that implements that logic -- that would suck)
--
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