lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (JIRA)" <>
Subject [jira] Commented: (LUCENE-2771) Remove norms() support from non-atomic IndexReaders
Date Fri, 19 Nov 2010 19:30:14 GMT


Michael McCandless commented on LUCENE-2771:

I think there may be hope for ParallelReader.

Ie, if the readers added to it a "congruent" (consist same-sized
sub-readers), which I think (?) is common, then we can implement
getSequentialSubReaders as simply returning an array of
ParallelReaders of the sub-readers.

If they are not congruent then it's effectively a

> Remove norms() support from non-atomic IndexReaders
> ---------------------------------------------------
>                 Key: LUCENE-2771
>                 URL:
>             Project: Lucene - Java
>          Issue Type: Improvement
>            Reporter: Uwe Schindler
>             Fix For: 4.0
> 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