[ 
https://issues.apache.org/jira/browse/LUCENE-4101?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13292373#comment-13292373
 ] 

Robert Muir commented on LUCENE-4101:
-------------------------------------

hmm, i think when i referred to 'code dup' it was to having 
TYPE_UNSTORED/TYPE_STORED... not how these are actually calculated in static 
blocks.

I think we should not have TYPE but keep it as TYPE_UNSTORED? Its confusing. 
There really isnt a default, just one ctor that has a default, and actually, I 
think we should nuke that?

Older lucene versions have to specify the Store and users are used to this 
already... I think the default ctor is confusing!!!!
                
> Remove XXXField.TYPE_STORED
> ---------------------------
>
>                 Key: LUCENE-4101
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4101
>             Project: Lucene - Java
>          Issue Type: Bug
>            Reporter: Michael McCandless
>            Assignee: Michael McCandless
>            Priority: Blocker
>             Fix For: 4.0, 5.0
>
>         Attachments: LUCENE-4101.patch, LUCENE-4101.patch, LUCENE-4101.patch, 
> LUCENE-4101.patch
>
>
> Spinoff from LUCENE-3312.
> For 4.0 I think we should simplify the sugar field APIs by requiring
> that you add a StoredField if you want to store the field.  Expert users
> can still make a custom FieldType that both stores and indexes...

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