You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by William Bell <bi...@gmail.com> on 2015/01/06 08:44:07 UTC

token does not appear to be in SynonymFilterFactory

The solr.SynonymFilterFactory mentions SOLR-319 which is a tokenizerFactory
to EdgeGram and then pass it into the SynonymFilterFactory. This does not
appear to work. Not sure when it broke? Or maybe the parameters changed?

https://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters#solr.SynonymFilterFactory
solr.SynonymFilterFactory

Creates SynonymFilter.

Matches strings of tokens and replaces them with other strings of tokens.

   -

   The *synonyms* parameter names an external file defining the synonyms.
   -

   If *ignoreCase* is true, matching will lowercase before checking
   equality.
   -

   If *expand* is true, a synonym will be expanded to all equivalent
   synonyms. If it is false, all equivalent synonyms will be reduced to the
   first in the list.
   -

   Right here: The optional *tokenizerFactory* parameter names a tokenizer
   factory class to analyze synonyms (see
   https://issues.apache.org/jira/browse/SOLR-319), which can help with the
   synonym+stemming problem described in
   http://search-lucene.com/m/hg9ri2mDvGk1 .


-- 
Bill Bell
billnbell@gmail.com
cell 720-256-8076