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

Reply via email to