On Jan 20, 2010, at 12:26 PM, Peter S wrote:
Hi,
Regarding case-insensitive searching:
In order to support 'case-insensivity' (lower-casing, really), I've
set my index-time and query-time fieldType analyzer to use a
LowerCaseFilterFactory filter. This works, but then all my facets
get returned in lower-case (e.g. 'object:MyObject (3)' becomes
'object:myobject (3)').
Is there a way to maintain case-impartiality whilst allowing facets
to be returned 'case-preserved'?
Yes, use different fields. Generally facet fields are "string" which
will maintain exact case. You can leverage the copyField capabilities
in schema.xml to clone a field and analyze it differently.
Erik