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

Jason Rutherglen commented on SOLR-1447:
----------------------------------------

Actually if we're going to change the solrconfig xml schema, I think it should 
look like:

{code}
<mergePolicy class="org.apache.lucene.index.LogByteSizeMergePolicy">
  <double name="maxMergeMB">64.0</double>
</mergePolicy>
<mergeSceduler class="org.apache.lucene.index.ConcurrentMergeScheduler">
  <int name="maxThreadCount">3</int>
</mergeScheduler>
{code}

Attributes are limiting.  This way we can add more complex objects in the 
future if needed.  


> Simple property injection 
> --------------------------
>
>                 Key: SOLR-1447
>                 URL: https://issues.apache.org/jira/browse/SOLR-1447
>             Project: Solr
>          Issue Type: Improvement
>          Components: update
>    Affects Versions: 1.4
>            Reporter: Jason Rutherglen
>            Assignee: Noble Paul
>            Priority: Trivial
>             Fix For: 1.4
>
>         Attachments: SOLR-1447.patch
>
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> MergePolicy and MergeScheduler require property injection.  We'll allow these 
> and probably other cases in this patch using Java reflection.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to