SearchSynonym
        
        extends DataObject
    
    
            
            in package
            
        
    
    
    
Class \Firesphere\SolrSearch\Models\SearchSynonym Manageable synonyms in the CMS
Table of Contents
Properties
- $Keyword : string
 - $Synonym : string
 - $db : array<string|int, mixed>
 - $plural_name : string
 - $singular_name : string
 - $summary_fields : array<string|int, mixed>
 - $table_name : string
 
Methods
- getCMSFields() : FieldList
 - Get the required CMS Fields for this synonym
 - getCombinedSynonym() : string
 - Combine this synonym in to a string for the Solr synonyms.txt file
 
Properties
$Keyword
    public
        string
    $Keyword
    
    
    
    
$Synonym
    public
        string
    $Synonym
    
    
    
    
$db
    private
    static    array<string|int, mixed>
    $db
     = ['Keyword' => 'Varchar(255)', 'Synonym' => 'Text']
    
        DB Fields
$plural_name
    private
    static    string
    $plural_name
     = 'Search synonyms'
    
        Plural name
$singular_name
    private
    static    string
    $singular_name
     = 'Search synonym'
    
        Singular name
$summary_fields
    private
    static    array<string|int, mixed>
    $summary_fields
     = ['Keyword', 'Synonym']
    
        Summary fields
$table_name
    private
    static    string
    $table_name
     = 'Solr_SearchSynonym'
    
        Table name
Methods
getCMSFields()
Get the required CMS Fields for this synonym
    public
                    getCMSFields() : FieldList
    Return values
FieldListgetCombinedSynonym()
Combine this synonym in to a string for the Solr synonyms.txt file
    public
                    getCombinedSynonym() : string