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 15:17:45 GMT


Karl Wettin commented on LUCENE-1312:

bq. Because the patch looks like a mess with the various changes I copied and pasted the alterations
to InstantiatedIndexReader to allow the following code which works. Basically saving a copy
of normsByFieldNameAndDocumentNumber into the OceanInstantiatedIndexReader fixes the problem.

I haven't had time to look in to why you need to extend the code, but notice that InstantiatedIndexWriter
creates a new byte[] on commit so your copy of the norms will be out of sync with the index
unless you also update it at that point. There might be more to this than I can think of right

Any other problems with the patch? I'm ready to commit it.

> 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