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] [Commented] (LUCENE-4833) Fix default MergePolicy in IndexWriterConfig
Date Thu, 14 Mar 2013 13:48:15 GMT

    [ https://issues.apache.org/jira/browse/LUCENE-4833?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13602272#comment-13602272
] 

Robert Muir commented on LUCENE-4833:
-------------------------------------

it seems more likely that someone would pass null due to a program mistake, rather than
wanting the defaults.
                
> Fix default MergePolicy in IndexWriterConfig
> --------------------------------------------
>
>                 Key: LUCENE-4833
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4833
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Adrien Grand
>            Assignee: Adrien Grand
>            Priority: Minor
>         Attachments: LUCENE-4833.patch
>
>
> Although the default merge policy is TieredMergePolicy (as documented in IndexWriterConfig
constructor), setMergePolicy assumes that the default is LogByteSizeMergePolicy.

--
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