[jira] Commented: (LUCENE-781) NPE in MultiReader.isCurrent() and getVersion()

2007-07-26 Thread Doug Cutting (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12515797 ] Doug Cutting commented on LUCENE-781: - > I looked into the javadocs built with this patch and I can't see the nam

[jira] Commented: (LUCENE-781) NPE in MultiReader.isCurrent() and getVersion()

2007-07-25 Thread Yonik Seeley (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12515387 ] Yonik Seeley commented on LUCENE-781: - Returning false for isOptimized() seems fine. > NPE in MultiReader.isCurr

[jira] Commented: (LUCENE-781) NPE in MultiReader.isCurrent() and getVersion()

2007-07-25 Thread Michael Busch (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12515384 ] Michael Busch commented on LUCENE-781: -- If there are no objections against separating MultiReader into two class

[jira] Commented: (LUCENE-781) NPE in MultiReader.isCurrent() and getVersion()

2007-07-24 Thread Michael Busch (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12515057 ] Michael Busch commented on LUCENE-781: -- > except that it makes the javadoc a bit odd, since the non-public class

[jira] Commented: (LUCENE-781) NPE in MultiReader.isCurrent() and getVersion()

2007-07-24 Thread Doug Cutting (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12514961 ] Doug Cutting commented on LUCENE-781: - > MultiSegmentReader (package-protected) and MultiReader (public) that ext

Re: [jira] Commented: (LUCENE-781) NPE in MultiReader.isCurrent() and getVersion()

2007-07-23 Thread Chris Hostetter
: I think the cleanest solution here is it to separate MultiReader into two : classes: MultiSegmentReader (package-protected) and MultiReader : (public) that extends MultiSegmentReader. i'm currently on vacation and don't have as much time to review patches as i'd like (not because i'm on vacatio

[jira] Commented: (LUCENE-781) NPE in MultiReader.isCurrent() and getVersion()

2007-07-23 Thread Michael Busch (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12514823 ] Michael Busch commented on LUCENE-781: -- I think the cleanest solution here is it to separate MultiReader into tw

[jira] Commented: (LUCENE-781) NPE in MultiReader.isCurrent() and getVersion()

2007-01-29 Thread Hoss Man (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12468436 ] Hoss Man commented on LUCENE-781: - comments based on cursory read of latest patch(es)... 1) I still think the IndexR

[jira] Commented: (LUCENE-781) NPE in MultiReader.isCurrent() and getVersion()

2007-01-29 Thread Daniel Naber (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12468424 ] Daniel Naber commented on LUCENE-781: - I've attached an updated patch that now throws an exception for isCurrent(

[jira] Commented: (LUCENE-781) NPE in MultiReader.isCurrent() and getVersion()

2007-01-26 Thread Hoss Man (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12467957 ] Hoss Man commented on LUCENE-781: - Lemme put it this way: I'd rather write a new IndexReaderUtils class, with a stat

[jira] Commented: (LUCENE-781) NPE in MultiReader.isCurrent() and getVersion()

2007-01-26 Thread Doron Cohen (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12467953 ] Doron Cohen commented on LUCENE-781: One could write an application that groups readers to multiReaders in more t

[jira] Commented: (LUCENE-781) NPE in MultiReader.isCurrent() and getVersion()

2007-01-25 Thread Hoss Man (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12467681 ] Hoss Man commented on LUCENE-781: - let's say we do implement isCurrent for a multi directory MultiReader as a loop o

[jira] Commented: (LUCENE-781) NPE in MultiReader.isCurrent() and getVersion()

2007-01-25 Thread Doron Cohen (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12467667 ] Doron Cohen commented on LUCENE-781: I agree, except for isCurrent() - why not iterating the readers only for cas

[jira] Commented: (LUCENE-781) NPE in MultiReader.isCurrent() and getVersion()

2007-01-25 Thread Hoss Man (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12467655 ] Hoss Man commented on LUCENE-781: - so the fundamental issue is two radically different use cases of MultiReader -- a

[jira] Commented: (LUCENE-781) NPE in MultiReader.isCurrent() and getVersion()

2007-01-23 Thread Doron Cohen (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12466930 ] Doron Cohen commented on LUCENE-781: > ...either way, i'd still like clarification as to the orriginal point of t

[jira] Commented: (LUCENE-781) NPE in MultiReader.isCurrent() and getVersion()

2007-01-23 Thread Hoss Man (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12466927 ] Hoss Man commented on LUCENE-781: - i wasn't suggesting that the patch was flawed -- just trying to clarify what circ

[jira] Commented: (LUCENE-781) NPE in MultiReader.isCurrent() and getVersion()

2007-01-23 Thread Doron Cohen (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12466852 ] Doron Cohen commented on LUCENE-781: I thought it would not break MultiReader, just do unnecessary work for that

[jira] Commented: (LUCENE-781) NPE in MultiReader.isCurrent() and getVersion()

2007-01-23 Thread Daniel Naber (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12466849 ] Daniel Naber commented on LUCENE-781: - Hoss, you're right, this breaks MultiReader, I will revert the patch. Funn

[jira] Commented: (LUCENE-781) NPE in MultiReader.isCurrent() and getVersion()

2007-01-23 Thread Hoss Man (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12466843 ] Hoss Man commented on LUCENE-781: - i haven't looked atthe patch, but i'm a little confused by the issue summary ...

[jira] Commented: (LUCENE-781) NPE in MultiReader.isCurrent() and getVersion()

2007-01-23 Thread Daniel Naber (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12466841 ] Daniel Naber commented on LUCENE-781: - Thanks for your feedback. I have committed my patch (but moved the testcas

[jira] Commented: (LUCENE-781) NPe in MultiReader.isCurrent() and getVersion()

2007-01-22 Thread Doron Cohen (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12466636 ] Doron Cohen commented on LUCENE-781: I checked - the fix is working and code seems right. While we are looking a