lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe Schindler (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (LUCENE-3736) ParallelReader is now atomic, add convenience methods to wrap CompositeReaders in either "slow atomic" or "fast composite" way
Date Wed, 01 Feb 2012 23:51:54 GMT

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

Uwe Schindler updated LUCENE-3736:
----------------------------------

    Attachment: LUCENE-3736.patch

Here just my cleanup work in ParallelReader, nothing new. It's as before, only "bugs" (missing
open checks) fixed and code violations (synthetic accessors, final fields).

The next step will be to remove the add() methods, as IndexReaders should not be changed after
create.

Will work more tomorrow.

The plan is:
- Move all subreaders to ctor (builder-like API. First build reader-set, then call build)
- Rename ParallelReader to AtomicParallelReader
- Add a CompositeParallelReader with same builder API, but taking any CompositeReader and
checks them that they are aligned (docStarts identical). The subreaders are AtomicParallelReaders.
                
> ParallelReader is now atomic, add convenience methods to wrap CompositeReaders in either
"slow atomic" or "fast composite" way
> ------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: LUCENE-3736
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3736
>             Project: Lucene - Java
>          Issue Type: Sub-task
>          Components: core/index
>            Reporter: Uwe Schindler
>            Assignee: Uwe Schindler
>             Fix For: 4.0
>
>         Attachments: LUCENE-3736.patch
>
>
> ParallelReader is now atomic. We should add a sugar wrapper method to allow synchronized
composite readers (with same segment sizes) to be aligned with MultiReaders or wrapped by
Slow:
> - one ParallelReader with Slow wrapped parallel readers, they only need same maxDoc()
(and deletions)
> - a MultiReader containing all sub-ParallelReaders. This needs CompositeReaders with
same docStarts[]

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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


Mime
View raw message