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 77BE8DE42 for ; Wed, 12 Sep 2012 18:23:09 +0000 (UTC) Received: (qmail 84710 invoked by uid 500); 12 Sep 2012 18:23:08 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 84585 invoked by uid 500); 12 Sep 2012 18:23:07 -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 84522 invoked by uid 99); 12 Sep 2012 18:23:07 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Sep 2012 18:23:07 +0000 Date: Thu, 13 Sep 2012 05:23:07 +1100 (NCT) From: "Hoss Man (JIRA)" To: dev@lucene.apache.org Message-ID: <2101349035.70813.1347474187815.JavaMail.jiratomcat@arcas> In-Reply-To: <950365474.55973.1347219907853.JavaMail.jiratomcat@arcas> Subject: [jira] [Commented] (LUCENE-4369) StringFields name is unintuitive and not helpful 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-4369?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13454204#comment-13454204 ] Hoss Man commented on LUCENE-4369: ---------------------------------- Didn't we spcifically get rid of an enums called TOKENIZED and UN_TOKENIZED because they convoluted the concept of tokenization with analysis? weren't there users who wanted "keyword" tokenization combined with other tokenfilters who thought UN_TOKENIZED was what they wanted? Perhaps TextField should be renamed AnalyzedTextField and StringField should be NonAnalyzedTextField ? > StringFields name is unintuitive and not helpful > ------------------------------------------------ > > Key: LUCENE-4369 > URL: https://issues.apache.org/jira/browse/LUCENE-4369 > Project: Lucene - Core > Issue Type: Bug > Reporter: Robert Muir > Attachments: LUCENE-4369.patch > > > There's a huge difference between TextField and StringField, StringField screws up scoring and bypasses your Analyzer. > (see java-user thread "Custom Analyzer Not Called When Indexing" as an example.) > The name we use here is vital, otherwise people will get bad results. > I think we should rename StringField to MatchOnlyField. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org