C# (CSharp) org.apache.lucene.analysis.synonym SolrSynonymParser - 11 examples found. These are the top rated real world C# (CSharp) examples of org.apache.lucene.analysis.synonym.SolrSynonymParser extracted from open source projects. You can rate examples to help us improve the quality of examples.
Blank lines and lines starting with '#' are comments.
Explicit mappings match any token sequence on the LHS of "=>" and replace with all alternatives on the RHS. These types of mappings ignore the expand parameter in the constructor. Example:
i-pod, i pod => ipod
Equivalent synonyms may be separated with commas and give no explicit mapping. In this case the mapping behavior will be taken from the expand parameter in the constructor. This allows the same synonym file to be used in different synonym handling strategies. Example:
ipod, i-pod, i pod
Multiple synonym mapping entries are merged. Example: