You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Michael McCandless (JIRA)" <ji...@apache.org> on 2007/12/06 18:41:43 UTC

[jira] Commented: (LUCENE-1082) IndexReader.lastModified - always return null

    [ https://issues.apache.org/jira/browse/LUCENE-1082?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12549107 ] 

Michael McCandless commented on LUCENE-1082:
--------------------------------------------

Could you provide more details here?

That method returns a long so it can't return null.  Do you mean it's returning 0?

TestIndexReader has a case that tests this method and it seems to be working from what I can tell.

> IndexReader.lastModified - always return null
> ---------------------------------------------
>
>                 Key: LUCENE-1082
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1082
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: Index
>    Affects Versions: 2.3
>         Environment: Windows variants.
>            Reporter: Alan Boo
>
> IndexReader.lastModified(String dir) or its variants always return null on 2.3, perhaps something to do with SegmentInfos's read().

-- 
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