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:[EMAIL PROTECTED] 
Sent: Sunday, March 18, 2007 8:44 AM
To: [email protected]
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

Reply via email to