[
https://issues.apache.org/jira/browse/LUCENE-1312?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
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: https://issues.apache.org/jira/browse/LUCENE-1312
> 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, 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]