lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shai Erera (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (LUCENE-4164) Improve IndexWriter.addIndexes(IndexReader) javadocs
Date Tue, 26 Jun 2012 07:31:44 GMT

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

Shai Erera resolved LUCENE-4164.
--------------------------------

    Resolution: Fixed

Committed javadoc changes to trunk and 4x.
                
> Improve IndexWriter.addIndexes(IndexReader) javadocs
> ----------------------------------------------------
>
>                 Key: LUCENE-4164
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4164
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: core/index
>            Reporter: Shai Erera
>            Assignee: Shai Erera
>            Priority: Trivial
>             Fix For: 4.0, 5.0
>
>         Attachments: LUCENE-4164.patch
>
>
> IndexWriter.addIndexes(IndexReader) needs some improvements:
> * It falsely states that this method blocks any add/delete documents attempts.
> * It merges all input IndexReaders at once, and not e.g. like MergePolicy does at mergeFactor
steps. Therefore I think it'd be good to clarify it to the user, and also encourage him to
call this method several times if he has many IndexReaders to merge.
> ** And while at it, mentioning that the IR can be opened with termIndexInterval=-1 since
we don't need it during merge will be good -- saves RAM.
> I'll attach a patch shortly.

--
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