[jira] Created: (LUCENE-2634) IndexReader.isCurrent() lies if documents were only removed by latest commit

2010-09-08 Thread Nikolay Zamosenchuk (JIRA)
IndexReader.isCurrent() lies if documents were only removed by latest commit Key: LUCENE-2634 URL: https://issues.apache.org/jira/browse/LUCENE-2634 Project: Lucene - Java

[jira] Updated: (LUCENE-2634) IndexReader.isCurrent() lies if documents were only removed by latest commit

2010-09-08 Thread Nikolay Zamosenchuk (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2634?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Nikolay Zamosenchuk updated LUCENE-2634: Attachment: TestIsCurrent.java IndexReader.isCurrent() lies if documents were

[jira] Assigned: (LUCENE-2634) IndexReader.isCurrent() lies if documents were only removed by latest commit

2010-09-08 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2634?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael McCandless reassigned LUCENE-2634: -- Assignee: Michael McCandless IndexReader.isCurrent() lies if documents were

Re: [jira] Created: (LUCENE-2634) IndexReader.isCurrent() lies if documents were only removed by latest commit

2010-09-08 Thread Erick Erickson
I'd expect this behavior if you haven't re-opened your underlying readers after the commit. No index changes are visible after a reader has been opened. Your steps to reproduce do not show any reopen, what happens when you do? Best Erick On Wed, Sep 8, 2010 at 3:54 AM, Nikolay Zamosenchuk

Re: (LUCENE-2634) IndexReader.isCurrent() lies if documents were only removed by latest commit

2010-09-08 Thread Michael McCandless
Actually, IR.isCurrent() is supposed to return false if any changes have been committed to the index since the IR was opened. Mike On Wed, Sep 8, 2010 at 8:11 AM, Erick Erickson erickerick...@gmail.com wrote: I'd expect this behavior if you haven't re-opened your underlying readers after the

Re: (LUCENE-2634) IndexReader.isCurrent() lies if documents were only removed by latest commit

2010-09-08 Thread Erick Erickson
Thanks, ya' learn something new every day G. Also, I hadn't seen the other responses, coffee hadn't kicked in. Erick On Wed, Sep 8, 2010 at 8:30 AM, Michael McCandless luc...@mikemccandless.com wrote: Actually, IR.isCurrent() is supposed to return false if any changes have been committed to

[jira] Resolved: (LUCENE-2634) IndexReader.isCurrent() lies if documents were only removed by latest commit

2010-09-08 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2634?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael McCandless resolved LUCENE-2634. Fix Version/s: 2.9.4 3.0.3 3.1

[jira] Commented: (LUCENE-2634) IndexReader.isCurrent() lies if documents were only removed by latest commit

2010-09-08 Thread Nikolay Zamosenchuk (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2634?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12907233#action_12907233 ] Nikolay Zamosenchuk commented on LUCENE-2634: - Thanks for quick reaction and

[jira] Commented: (LUCENE-2634) IndexReader.isCurrent() lies if documents were only removed by latest commit

2010-09-08 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2634?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12907234#action_12907234 ] Michael McCandless commented on LUCENE-2634: Thank you for discovering