lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (JIRA)" <j...@apache.org>
Subject [jira] Updated: (LUCENE-976) MMapDirectory is missing newly added openInput method to FSDirectory
Date Fri, 10 Aug 2007 21:15:42 GMT

     [ https://issues.apache.org/jira/browse/LUCENE-976?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Michael McCandless updated LUCENE-976:
--------------------------------------

    Attachment: LUCENE-976.patch

Simple patch to fix this.  I also added a unit test that looks @ all
methods in FSDirectory that return IndexInput or a subclass and
asserts that MMapDirectory overrides all such methods.



> MMapDirectory is missing newly added openInput method to FSDirectory
> --------------------------------------------------------------------
>
>                 Key: LUCENE-976
>                 URL: https://issues.apache.org/jira/browse/LUCENE-976
>             Project: Lucene - Java
>          Issue Type: Bug
>    Affects Versions: 2.2
>            Reporter: Michael McCandless
>            Assignee: Michael McCandless
>         Attachments: LUCENE-976.patch
>
>
> This issue was caused by the optimizations in LUCENE-888.  The new
> openInput(String name, int bufferSize) added to FSDirectory was not
> also overridden by MMapDirectory.

-- 
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: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message