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 2011/09/19 17:18:09 UTC

[jira] [Assigned] (LUCENE-3439) add checks/asserts if you search across a closed reader

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

Michael McCandless reassigned LUCENE-3439:
------------------------------------------

    Assignee: Michael McCandless

> add checks/asserts if you search across a closed reader
> -------------------------------------------------------
>
>                 Key: LUCENE-3439
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3439
>             Project: Lucene - Java
>          Issue Type: Bug
>            Reporter: Robert Muir
>            Assignee: Michael McCandless
>         Attachments: LUCENE-3439.patch, LUCENE-3439_test.patch
>
>
> if you try to search across a closed reader (and/or searcher too),
> there are no checks, not even assertions statements.
> this results in crazy scary stacktraces deep inside places like FSTs/various term dictionary implementations etc.
> In some situations, depending on codec, you wont even get an error (i'm sure its fun when you try to retrieve the stored fields!)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org