Hi Erik,

 

Thanks for your reply,

 

As soon as you mentioned it, I realized I have used this technique in the past 
with a couple of fields...so thanks for jogging my failing memory!

 

Thanks,

Peter

 

 


 
> From: erik.hatc...@gmail.com
> To: solr-dev@lucene.apache.org
> Subject: Re: Case-insensitive searches and facet case
> Date: Wed, 20 Jan 2010 12:46:44 -0500
> 
> 
> 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
> 
                                          
_________________________________________________________________
Got a cool Hotmail story? Tell us now
http://clk.atdmt.com/UKM/go/195013117/direct/01/

Reply via email to