lucene-lucene-net-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "George Aroush" <geo...@aroush.net>
Subject RE: Case sensitive field names
Date Wed, 28 Mar 2007 02:40:27 GMT
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


Mime
View raw message