-----Original Message----- From: Shawn Heisey [mailto:apa...@elyograg.org] Sent: Thursday, July 09, 2015 9:55 AM To: solr-user@lucene.apache.org Subject: Re: Do I really need copyField when my app can do the copy?
On 7/9/2015 2:35 AM, Nir Barel wrote: > I wants to add a question regarding copyField and > LowerCaseFilterFactory We notice that LowerCaseFilterFactory takes > huge part of the CPU ( via profiling ) for the text filed Can we avoid > it or improve that implementation? ( keeping the insensitive case > search ) I don't know what the CPU usage is like compared to LCF, but I use ICUFoldingFilterFactory instead. This does several things in one pass, including lowercasing (which it calls case folding), and it is aware of the all characters in Unicode. https://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters#solr.ICUFoldingFilterFactory The ICU classes require additional jars to be loaded into Solr before they will work. Thanks, Shawn ************************************************************************* This e-mail may contain confidential or privileged information. If you are not the intended recipient, please notify the sender immediately and then delete it. TIAA-CREF *************************************************************************