I agree that, if they are the same, you want to merge them. In this case, I don't think you want them to be the same. In particular, you usually don't want to catenateWords and catenateNumbers both index time AND at query time. You generate the permutations on one, or the other, but you don't need to do it for both. I usually do it at index time
Tom On Tue, Apr 20, 2010 at 11:29 AM, MitchK <[email protected]> wrote: > > It has nothing to do with your problem, since it seems to work when Tom > tested it. > However, it seems like you are using the same configurations on query- and > index-type analyzer. > If you did not hide anything from (for example own filter-implementations), > because you don't want to confuse us, you can just delete the definitions > "type=index" and "type=query". If you do so, the whole > fieldType-filter-configuration will be applied on both: index- and > query-time. There is no need to specify two equal ones. > > I think this would be easier to maintain in future :). > > Kind regards > - Mitch > > --> > <analyzer> > > <tokenizer class="solr.WhitespaceTokenizerFactory"/> > > <filter class="solr.SynonymFilterFactory" > synonyms="synonyms.txt" ignoreCase="true" expand="true"/> > > <filter class="solr.StopFilterFactory" > > ignoreCase="true" > > words="stopwords.txt" > > enablePositionIncrements="true" > > /> > > <filter class="solr.WordDelimiterFilterFactory" > generateWordParts="1" generateNumberParts="1" catenateWords="1" > catenateNumbers="1" catenateAll="0" splitOnCaseChange="1"/> > > <filter class="solr.LowerCaseFilterFactory"/> > > <filter class="solr.RemoveDuplicatesTokenFilterFactory"/> > > </analyzer> > -- > View this message in context: > http://n3.nabble.com/Odd-query-result-tp732958p733095.html > Sent from the Solr - User mailing list archive at Nabble.com. >
