Using expand = true in Solr SynonymFilterFactory?

Solr doc explains the role of expand = true in SynonymFilterFactory as follows:

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. 

I wonder what that means? If someone can understand what he is doing, it will be great.

+5
source share
1 answer

From the Solr SynonymFilterFactory documentation in the Solr quiz:

 # If expand==true, "ipod, i-pod, i pod" is equivalent to the explicit mapping:
 ipod, i-pod, i pod => ipod, i-pod, i pod

 # If expand==false, "ipod, i-pod, i pod" is equivalent to the explicit mapping:
 ipod, i-pod, i pod => ipod
+2
source

All Articles