You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2014/11/02 20:03:33 UTC
[jira] [Commented] (LUCENE-6041) remove sugar FieldInfo.isIndexed
and .hasDocValues
[ https://issues.apache.org/jira/browse/LUCENE-6041?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14193962#comment-14193962 ]
ASF subversion and git services commented on LUCENE-6041:
---------------------------------------------------------
Commit 1636166 from [~mikemccand] in branch 'dev/trunk'
[ https://svn.apache.org/r1636166 ]
LUCENE-6041: remove FieldInfo.isIndex/hasDocValues sugar APIs
> remove sugar FieldInfo.isIndexed and .hasDocValues
> --------------------------------------------------
>
> Key: LUCENE-6041
> URL: https://issues.apache.org/jira/browse/LUCENE-6041
> Project: Lucene - Core
> Issue Type: Improvement
> Reporter: Michael McCandless
> Assignee: Michael McCandless
> Fix For: 5.0, Trunk
>
> Attachments: LUCENE-6041.patch
>
>
> Follow-on from LUCENE-6039; these two booleans don't really exist: they are just sugar to check for IndexOptions.NO and DocValuesType.NO. I think for the low-level schema API in Lucene we should not expose such sugar: callers should have to be explicit.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org