List Info

Thread: Created: (LUCENE-976) MMapDirectory is missing newly added openInput method to FSDirectory




Created: (LUCENE-976) MMapDirectory is missing newly added openInput method to FSDirectory
country flaguser name
United States
2007-08-10 15:59:43
MMapDirectory is missing newly added openInput method to
FSDirectory
------------------------------------------------------------
--------

                 Key: LUCENE-976
                 URL: http
s://issues.apache.org/jira/browse/LUCENE-976
             Project: Lucene - Java
          Issue Type: Bug
    Affects Versions: 2.2
            Reporter: Michael McCandless
            Assignee: Michael McCandless


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-unsubscribelucene.apache.org
For additional commands, e-mail: java-dev-helplucene.apache.org


Updated: (LUCENE-976) MMapDirectory is missing newly added openInput method to FSDirectory
country flaguser name
United States
2007-08-10 16:15:42
     [ 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: http
s://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-unsubscribelucene.apache.org
For additional commands, e-mail: java-dev-helplucene.apache.org


Resolved: (LUCENE-976) MMapDirectory is missing newly added openInput method to FSDirectory
country flaguser name
United States
2007-08-10 17:21:42
     [ https://issues.apache.org/jira/browse/LUCENE-976?page=com.
atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Michael McCandless resolved LUCENE-976.
---------------------------------------

    Resolution: Fixed

Thanks Peter!

> MMapDirectory is missing newly added openInput method
to FSDirectory
>
------------------------------------------------------------
--------
>
>                 Key: LUCENE-976
>                 URL: http
s://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-unsubscribelucene.apache.org
For additional commands, e-mail: java-dev-helplucene.apache.org


[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )