Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 55FC7200BD5 for ; Thu, 8 Dec 2016 21:37:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 549E3160B27; Thu, 8 Dec 2016 20:37:00 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 9CE26160B0A for ; Thu, 8 Dec 2016 21:36:59 +0100 (CET) Received: (qmail 77715 invoked by uid 500); 8 Dec 2016 20:36:58 -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 77695 invoked by uid 99); 8 Dec 2016 20:36:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Dec 2016 20:36:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 617FF2C03E1 for ; Thu, 8 Dec 2016 20:36:58 +0000 (UTC) Date: Thu, 8 Dec 2016 20:36:58 +0000 (UTC) From: "Steve Rowe (JIRA)" To: dev@lucene.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (LUCENE-7585) Interface for common parameters used across analysis factories MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 08 Dec 2016 20:37:00 -0000 [ https://issues.apache.org/jira/browse/LUCENE-7585?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15733334#comment-15733334 ] Steve Rowe commented on LUCENE-7585: ------------------------------------ The patch appears to be against a non-existent version of {{CommonAnalysisFactoryParams.java}}, so doesn't apply properly. Manual repair worked for me (saving the patch as the target file, trimming to include just the target file contents, removing {{-}} lines, and deleting {{+}} prefixes from lines). It'd be nice to alphabetize the constants. Otherwise, +1. > Interface for common parameters used across analysis factories > -------------------------------------------------------------- > > Key: LUCENE-7585 > URL: https://issues.apache.org/jira/browse/LUCENE-7585 > Project: Lucene - Core > Issue Type: Improvement > Components: modules/analysis > Affects Versions: 6.3 > Reporter: Ahmet Arslan > Assignee: David Smiley > Priority: Minor > Fix For: master (7.0) > > Attachments: LUCENE-7585.patch > > > Certain parameters (String constants) are same/common for multiple analysis factories. Some examples are {{ignoreCase}}, {{dictionary}}, and {{preserveOriginal}}. These string constants are handled inconsistently in different factories. This is an effort to define most common constants in ({{CommonAnalysisFactoryParams}}) interface and reuse them. -- 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