lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (Updated) (JIRA)" <>
Subject [jira] [Updated] (LUCENE-3646) throw exception for fieldcache on a non-atomic reader
Date Wed, 14 Dec 2011 00:09:30 GMT


Robert Muir updated LUCENE-3646:

    Attachment: LUCENE-3646.patch

Attached is an initial patch... all tests pass.
> throw exception for fieldcache on a non-atomic reader
> -----------------------------------------------------
>                 Key: LUCENE-3646
>                 URL:
>             Project: Lucene - Java
>          Issue Type: Task
>            Reporter: Robert Muir
>             Fix For: 4.0
>         Attachments: LUCENE-3646.patch
> In Lucene 4.0, we go through a lot of effort to prevent slow uses of non-atomic readers:
> DirectoryReader/MultiReader etc throw exception if you don't try to access postings or
docvalues apis per-segment, etc.
> But the biggest trap of all is still too easy to fall into, we don't do the same for
> I think we should throw exception, forcing the user to either change their code or use
a SlowMultiReaderWrapper.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message