[
https://issues.apache.org/jira/browse/LUCENE-2790?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12967127#action_12967127
]
Shai Erera commented on LUCENE-2790:
------------------------------------
bq. How Lucene manages the index files is under-the-hood so we are free to
change it.
That's correct. However, sadly, the backwards tests do not agree with you :).
Because the runtime behavior has changed, the tests fail. If you try to call
LMP.setNoCFSRation, you get a NoSuchMethodError because the tests are compiled
against 3.0's source, where indeed it does not exist.
I'm trying to resolve it by fetching the method using reflection, but this
shows another problem w/ how we maintain the backwards tests.
> IndexWriter should call MP.useCompoundFile and not LogMP.getUseCompoundFile
> ---------------------------------------------------------------------------
>
> Key: LUCENE-2790
> URL: https://issues.apache.org/jira/browse/LUCENE-2790
> Project: Lucene - Java
> Issue Type: Improvement
> Components: Index
> Reporter: Shai Erera
> Assignee: Shai Erera
> Priority: Minor
> Fix For: 3.1, 4.0
>
> Attachments: LUCENE-2790.patch, LUCENE-2790.patch, LUCENE-2790.patch,
> LUCENE-2790.patch, LUCENE-2790.patch, LUCENE-2790.patch, LUCENE-2790.patch
>
>
> Spin off from here:
> http://www.gossamer-threads.com/lists/lucene/java-dev/112311.
> I will attach a patch shortly that addresses the issue on trunk.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]