Hi Ahmet, Am I correct that his this is only avalable in Solr4.8? http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters#solr.TruncateTokenFilterFactory
Also, I need to add your lines to both "index" and "query" analyzers? making my definition like so: <fieldType name="searchtext" class="solr.TextField" positionIncrementGap="100"> <analyzer type="index"> <tokenizer class="solr.WhitespaceTokenizerFactory"/> <filter class="solr.LowerCaseFilterFactory"/> <filter class="solr.TruncateTokenFilterFactory" prefixLength="3"/> </analyzer> <analyzer type="query"> <tokenizer class="solr.WhitespaceTokenizerFactory"/> <filter class="solr.LowerCaseFilterFactory"/> <filter class="solr.TruncateTokenFilterFactory" prefixLength="3"/> </analyzer> </fieldType> Your solution seems much easier to setup than what is proposed by Alexandre...for my understanding, what is the difference? Thanks! -- View this message in context: http://lucene.472066.n3.nabble.com/Flexible-search-field-analyser-tokenizer-configuration-tp4161624p4161778.html Sent from the Solr - User mailing list archive at Nabble.com.