lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karl Wettin (JIRA)" <>
Subject [jira] Commented: (LUCENE-1312) InstantiatedIndexReader does not implement getFieldNames properly
Date Thu, 26 Jun 2008 16:15:45 GMT


Karl Wettin commented on LUCENE-1312:

bq. Is there an easy way to add a InstantiatedIndexWriter.addIndexes(IndexReader[] readers)
method? Seems doable with the InstantiatedIndex(IndexReader sourceIndexReader) constructor
however I want to me able to merge another IndexReader in.

It's doable. The simplest solution I can think of is to reconstruct all the documents in one
single enumeration of the source index and then add them to the writer. I'm however not certain
this is the best way nor if InstantiatedIndexWriter is the place for the code. 

I think it should be discussed in a new issue.

> InstantiatedIndexReader does not implement getFieldNames properly
> -----------------------------------------------------------------
>                 Key: LUCENE-1312
>                 URL:
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: contrib/*
>            Reporter: Jason Rutherglen
>            Assignee: Karl Wettin
>         Attachments: lucene-1312.patch, lucene-1312.patch, lucene-1312.patch, lucene-1312.patch,
> Causes error in org.apache.lucene.index.SegmentMerger.mergeFields

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