[
https://issues.apache.org/jira/browse/LUCENE-3859?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robert Muir updated LUCENE-3859:
--------------------------------
Attachment: LUCENE-3859.patch
Updated patch: keeps AtomicReader.hasNorms but changes its implementation to
just check the fieldinfos (so it wont load anything/incur any i/o).
its final and deprecated, as its basically just sugar for the fieldinfos check,
which you can do yourself (and also allows you to get the type of the norms
too).
> nuke/clean up AtomicReader.hasNorms
> -----------------------------------
>
> Key: LUCENE-3859
> URL: https://issues.apache.org/jira/browse/LUCENE-3859
> Project: Lucene - Java
> Issue Type: Task
> Affects Versions: 4.0
> Reporter: Robert Muir
> Attachments: LUCENE-3859.patch, LUCENE-3859.patch, LUCENE-3859.patch
>
>
> implementations already have to return fieldInfos() [which can tell you
> this], and normValues() [which can also tell you this].
> So if we want to keep it, I think it should just have a final implementation
> and not be required for FilterReaders, etc.
> Or we can just nuke it... do we really need 3 ways to do the same thing?
--
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: [email protected]
For additional commands, e-mail: [email protected]