Hi All, Thank you for the replies.
--Regards Rajani On Fri, Jul 27, 2012 at 9:58 AM, Chris Hostetter <hossman_luc...@fucit.org>wrote: > > : > When I specify analyzer class in schema, something > : > like below and do > : > analysis on this field in analysis page : I cant see > : > verbose output on > : > tokenizer and filters > > The reason for that is that if you use an explicit Analyzer > implimentation, the analysis tool doesn't know what the individual phases > of hte tokenfilters are -- the Analyzer API doesn't expose that > information (some Analyzers may be monolithic and not made up of > individual TokenFilters) > > > : > <fieldType name="text_chinese" > : > class="solr.TextField"> > : > <analyzer > : > class="org.apache.lucene.analysis.cn.smart.SmartChineseAnalyzer"> > : > <tokenizer > ... > > : Above config is somehow wrong. You cannot use both analyzer combined > : with tokenizer and filter altogether. If you want to use lucene analyzer > : in schema.xml there should be only analyzer definition. > > Right. what's happening here is htat since a "class" is specifid for hte > analyzer, it is ignoring the tokenizer+tokenfilters listed. I've opened a > bug to add better error checking to catch these kinds of configuration > mistakes... > > https://issues.apache.org/jira/browse/SOLR-3683 > > > -Hoss