lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (JIRA)" <>
Subject [jira] Commented: (LUCENE-2771) Remove norms() support from non-atomic IndexReaders
Date Mon, 29 Nov 2010 12:49:38 GMT


Robert Muir commented on LUCENE-2771:

We should in all cases open another issue and remove Multi* support from all core queries
and filters (where it is left). If you use a filter with a MultiReader, it can throw UOE.
Then you can always use SlowMultiReaderWrapper.


> Remove norms() support from non-atomic IndexReaders
> ---------------------------------------------------
>                 Key: LUCENE-2771
>                 URL:
>             Project: Lucene - Java
>          Issue Type: Improvement
>            Reporter: Uwe Schindler
>             Fix For: 4.0
>         Attachments: LUCENE-2771.patch, LUCENE-2771.patch, LUCENE-2771.patch, LUCENE-2771_needsCache.patch
> Spin-off from LUCENE-2769:
> Currently all IndexReaders support norms(), but the core of Lucene never uses it and
its even dangerous because of memory usage. We should do the same like with MultiFields and
factor it out and throw UOE on non-atomic readers.
> The SlowMultiReaderWrapper can then manage the norms. Also ParallelReader needs to be

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:
For additional commands, e-mail:

View raw message