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

ASF subversion and git services commented on LUCENE-6039:
---------------------------------------------------------

Commit 1635861 from [~mikemccand] in branch 'dev/trunk'
[ https://svn.apache.org/r1635861 ]

LUCENE-6039: NO -> NONE

> Add IndexOptions.NO and DocValuesType.NO, instead of null
> ---------------------------------------------------------
>
>                 Key: LUCENE-6039
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6039
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Michael McCandless
>            Assignee: Michael McCandless
>             Fix For: 5.0, Trunk
>
>         Attachments: LUCENE-6039.patch
>
>
> Idea from Simon: it seems dangerous for IndexOptions and DocValuesType
> via Indexable/FieldType and FieldInfo that we use null to mean it's
> not indexed or has no doc values.
> We should instead have an explicit choice (IndexOptions.NO,
> DocValuesType.NO) in the enum?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to