[ 
https://issues.apache.org/jira/browse/LUCENE-4088?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robert Muir updated LUCENE-4088:
--------------------------------

    Attachment: LUCENE-4088.patch

here's a stab at a fix. needs review: some scary stuff for sure.
                
> unindexed (stored-only) fields prevent future indexing of offsets
> -----------------------------------------------------------------
>
>                 Key: LUCENE-4088
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4088
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: core/index
>            Reporter: Robert Muir
>             Fix For: 4.0
>
>         Attachments: LUCENE-4088.patch, LUCENE-4088.patch
>
>
> this is because we bogusly set FieldInfo.indexOptions to 
> DOCS_AND_FREQS_AND_POSITIONS if the field is stored-only.
> I don't think we should do that: the indexOptions should be null.

--
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]

Reply via email to