From dev-return-185071-apmail-lucene-dev-archive=lucene.apache.org@lucene.apache.org Sun Nov 2 19:03:35 2014 Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A683E17CCE for ; Sun, 2 Nov 2014 19:03:35 +0000 (UTC) Received: (qmail 5937 invoked by uid 500); 2 Nov 2014 19:03:33 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 5868 invoked by uid 500); 2 Nov 2014 19:03:33 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 5857 invoked by uid 99); 2 Nov 2014 19:03:33 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Nov 2014 19:03:33 +0000 Date: Sun, 2 Nov 2014 19:03:33 +0000 (UTC) From: "ASF subversion and git services (JIRA)" To: dev@lucene.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (LUCENE-6041) remove sugar FieldInfo.isIndexed and .hasDocValues MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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