Return-Path: Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: (qmail 71554 invoked from network); 30 Oct 2010 14:49:01 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 30 Oct 2010 14:49:01 -0000 Received: (qmail 55504 invoked by uid 500); 30 Oct 2010 14:49:00 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 55363 invoked by uid 500); 30 Oct 2010 14:49:00 -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 55356 invoked by uid 99); 30 Oct 2010 14:48:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 30 Oct 2010 14:48:59 +0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [85.25.71.29] (HELO mail.troja.net) (85.25.71.29) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 30 Oct 2010 14:48:53 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.troja.net (Postfix) with ESMTP id DD67045FBD1 for ; Sat, 30 Oct 2010 16:48:31 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mail.troja.net Received: from mail.troja.net ([127.0.0.1]) by localhost (megaira.troja.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TbmJ4aXL33Fj for ; Sat, 30 Oct 2010 16:48:29 +0200 (CEST) Received: from VEGA (port-83-236-62-54.dynamic.qsc.de [83.236.62.54]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mail.troja.net (Postfix) with ESMTPSA id 103FD45FBC8 for ; Sat, 30 Oct 2010 16:48:28 +0200 (CEST) From: "Uwe Schindler" To: References: In-Reply-To: Subject: RE: inconsistency/performance trap of empty terms Date: Sat, 30 Oct 2010 16:49:32 +0200 Message-ID: <000e01cb7841$aa7dce50$ff796af0$@thetaphi.de> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 14.0 Content-Language: de Thread-Index: AQFSlYEDqmM+A+54SveYfakr8NaQMQN0Qj1ZAtQENzsC1fxWxQHZ4XaRAX5c9tIBiINlugKxn4g7Ai+HNfQB5T/vLgKJVnrek5Dh7fA= +1, too. I hate those modes. In my opinion, we should not have analyzers = at all (just my personal opinion). "new Field(name, TokenStream)" is = much enough from consistency standpoint! ----- Uwe Schindler H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de eMail: uwe@thetaphi.de > -----Original Message----- > From: Robert Muir [mailto:rcmuir@gmail.com] > Sent: Saturday, October 30, 2010 3:15 PM > To: dev@lucene.apache.org > Subject: Re: inconsistency/performance trap of empty terms >=20 > On Sat, Oct 30, 2010 at 9:00 AM, Earwin Burrfoot = wrote: > > Speaking of consistency, I think NOT_ANALYZED is superfluous. Drop > > this mode, and it can be safely reproduced by a NotAnalyzingAnalyzer > > (insert better name here). > > >=20 > +1. This is confusing and comes up often on the user list. >=20 > The way I think it happens is like this: > Joe Schmoe, like a good user, just fires up StandardAnalyzer at both = index and > query time. > Joe realizes he has a field that really shouldnt be tokenized, and = sets it to > NOT_ANALYZED. > Joe is confused that queries dont work the way he should when he does = this, > since its still analyzed by the queryparser with StandardAnalyzer. >=20 > It would be far better to force him to use PerFieldAnalyzerWrapper + > NotAnalyzingAnalyzer or whatever, since then it would work = intuitively. > besides, if he sets this NotAnalyzed, it actually goes thru 'analysis' > anyway: SingleTokenAttributeSource buried in the indexer. > And, in trunk, this means things like UTF-8 encoding are assumed, but = really > this should be completely outside of the indexer. >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For = additional > commands, e-mail: dev-help@lucene.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org