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

Christine Poerschke commented on LUCENE-6681:
---------------------------------------------

in terms of a test for this: i had attempted extending 
[TestSortingMergePolicy.java|https://github.com/apache/lucene-solr/blob/trunk/lucene/misc/src/test/org/apache/lucene/index/TestSortingMergePolicy.java]
 to have a {{testMethodsOverridden()}} similar to that in 
[TestNoMergePolicy.java|https://github.com/apache/lucene-solr/blob/trunk/lucene/core/src/test/org/apache/lucene/index/TestNoMergePolicy.java]
 but that was a little tricky because {{size(...)}} is {{protected}} in 
[MergePolicy.java|https://github.com/apache/lucene-solr/blob/trunk/lucene/core/src/java/org/apache/lucene/index/MergePolicy.java]

> SortingMergePolicy to override MergePolicy.size()
> -------------------------------------------------
>
>                 Key: LUCENE-6681
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6681
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Christine Poerschke
>            Priority: Minor
>
> github pull request to follow



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to