Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Lucene: Java-Dev

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

 

 

Lucene java-dev RSS feed   Index | Next | Previous | View Threaded


jira at apache

Jun 26, 2012, 12:31 AM

Post #1 of 1 (38 views)
Permalink
[jira] [Resolved] (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 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 [at] lucene
For additional commands, e-mail: dev-help [at] lucene

Lucene java-dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.