[
https://issues.apache.org/jira/browse/LUCENE-4359?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robert Muir updated LUCENE-4359:
--------------------------------
Attachment: LUCENE-4359.patch
here's a patch. it doesn't fix all the issues but I think we should commit it.
I think its really confusing that setDocValuesType sets stored as a side effect.
> Allow DocValues to be unstored
> ------------------------------
>
> Key: LUCENE-4359
> URL: https://issues.apache.org/jira/browse/LUCENE-4359
> Project: Lucene - Core
> Issue Type: Sub-task
> Affects Versions: 5.0
> Reporter: Adrien Grand
> Assignee: Robert Muir
> Attachments: LUCENE-4359.patch, LUCENE-4359_test.patch
>
>
> Lucene trunk currently forces DocValues to be stored:
> - FieldType.setDocValueType sets stored to true,
> - DocFieldProcessor.processDocument handles DocValues in a {{for
> (StorableField field: docState.doc.storableFields())}} loop, meaning that
> DocValues won't be consumed if they are not stored.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
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]