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

Michael McCandless commented on LUCENE-4101:
--------------------------------------------

bq. So with this patch, StringField and TextField now have a TYPE which is just 
indexed not stored, and a TYPE_STORED which is just stored not indexed.

No actually TYPE_STORED is just like TYPE but it also has setStored(true).  I 
simplified the code so that TYPE_STORED first starts with TYPE and then only 
changes stored bit (vs the code dup we had before).
                
> 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
>
>
> 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: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to