You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Shai Erera (JIRA)" <ji...@apache.org> on 2012/06/25 09:26:42 UTC

[jira] [Updated] (LUCENE-4164) Improve IndexWriter.addIndexes(IndexReader) javadocs

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

Shai Erera updated LUCENE-4164:
-------------------------------

    Summary: Improve IndexWriter.addIndexes(IndexReader) javadocs  (was: Improve IndexWriter.addIndexes(IndexReader javadocs))
    
> 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