: Is there document that describes differences of these approaches, guides : when to use which?
there is some guidence in these wiki pages... http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters http://wiki.apache.org/solr/SolrPlugins In general, do what ever is easiest for you ... if you already have an Analyzer, just use it. If you have a Tokenizer (or you are writing one) then it's just as easy to write a TOkenizerFactory as it is to write an Analyzer - and the TokenizerFactory allows you to mix and match with all sorts of TokenFIlter configurations. : 3. Write an Analyzer that uses my Tokenizer and an AnalyzerFactory that : create() that Analyzer, and specify that factory in schema.xml. there's no such thing as an AnalyzerFactory (as far as i remember...) .. did you see that mentioned in the docs somewhere? -Hoss