Description
LUCENE-5038eliminated 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)
Attachments
Issue Links
- is related to
-
SOLR-4941 useCompoundFile default has changed, simple config option no longer seems to work
- Closed
- relates to
-
LUCENE-5038 Don't call MergePolicy / IndexWriter during DWPT Flush
- Closed