lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From William Bell <billnb...@gmail.com>
Subject token does not appear to be in SynonymFilterFactory
Date Tue, 06 Jan 2015 07:44:07 GMT
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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message