lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karl Wettin (JIRA)" <>
Subject [jira] Updated: (LUCENE-1312) InstantiatedIndexReader does not implement getFieldNames properly
Date Tue, 24 Jun 2008 01:49:45 GMT


Karl Wettin updated LUCENE-1312:

    Attachment: lucene-1312.patch

Thanks for the updated patch Jason!

I worked a bit on it:

* Factored out the writer specific field settings (omitnorms, binary, etc)  and introduced
an extention in the writer.
* Added test cases for deleting documents and comparing field options in TestIndiciesEquals.
* Fixed bug in index writer that did not create field settings for non indexed non stored
fields, identified by the new test in previous point.
* Introduced new class FieldNames that actually merges the field options. The previous patch
just copied the most recent field setting from the writer, thus changing a setting  from true
to false in some cases.

I think that was all. I'll be committing this soon pending any comments.

> 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