> Hi, > > The wiki uses the example: > > <fieldtype name="syn" > class="solr.TextField"> > <analyzer> > <tokenizer > class="solr.WhitespaceTokenizerFactory"/> > <filter > class="solr.SynonymFilterFactory synonyms="syn.txt" > ignoreCase="true" expand="false"/> > </analyzer> > </fieldtype> > > With "dog, canine" in syn.txt and a document with "I have a > dog, Bob.", "dog" is not seen as a synonym. With a document > "I have a dog Bob" it is.
Why not use StandardTokenizerFactory which removes punctuations?