Return-Path: Delivered-To: apmail-incubator-lucene-net-dev-archive@locus.apache.org Received: (qmail 97477 invoked from network); 28 Mar 2007 02:40:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 Mar 2007 02:40:25 -0000 Received: (qmail 16686 invoked by uid 500); 28 Mar 2007 02:40:32 -0000 Delivered-To: apmail-incubator-lucene-net-dev-archive@incubator.apache.org Received: (qmail 16670 invoked by uid 500); 28 Mar 2007 02:40:32 -0000 Mailing-List: contact lucene-net-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: lucene-net-dev@incubator.apache.org Delivered-To: mailing list lucene-net-dev@incubator.apache.org Received: (qmail 16657 invoked by uid 99); 28 Mar 2007 02:40:32 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Mar 2007 19:40:32 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [216.222.193.2] (HELO sidekick.frogspace.net) (216.222.193.2) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Mar 2007 19:40:23 -0700 Received: from pool-141-157-178-204.bstnma.east.verizon.net ([141.157.178.204] helo=aroushlt) by sidekick.frogspace.net with esmtp (Exim 4.44) id 1HWO4x-0007Eo-0e for lucene-net-dev@incubator.apache.org; Tue, 27 Mar 2007 19:40:03 -0700 From: "George Aroush" To: Subject: RE: Case sensitive field names Date: Tue, 27 Mar 2007 22:40:27 -0400 Message-ID: <041701c770e2$72710dc0$6901a8c0@aroushlt> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 Thread-Index: AcdpWzvT+zd8AMXXS+e/2dVg02Tu3QHhiwKw In-Reply-To: <27d8d0930703180544o349c0c25k8f05970ecba59797@mail.gmail.com> X-SA-Exim-Connect-IP: 141.157.178.204 X-SA-Exim-Mail-From: george@aroush.net X-Virus-Checked: Checked by ClamAV on apache.org Hi Ayende, This is by design. There are some data-sources with fields such as "title" and "Title" that are treated as two different kind of fields. By having Lucene preserve the field name capitalization, it insures that it supports such data-sources. If your data-source doesn't care about field capitalization setting, then the easy way for you to work around this issue is to lower/upper-case the field name before submitting it for indexing. This is the only way to do it; there is no Lucene API. Regards, -- George Aroush -----Original Message----- From: Ayende Rahien [mailto:ayende@ayende.com] Sent: Sunday, March 18, 2007 8:44 AM To: lucene-net-dev@incubator.apache.org Subject: Case sensitive field names "title:nhibernate" will not return the same results as "Title:nhibernate" - this is extremely confusing. Especially since it is so easy to mistake it. Is there a way to turn the field names to case in-senstivie