SilverStripe solr Search

Default

Table of Contents

Functions

getShortFieldName()  : string
Global method, to make it easier to address and less convoluted.
getSuggestion()  : mixed
Get a suggestion from Solr

Functions

getShortFieldName()

Global method, to make it easier to address and less convoluted.

getShortFieldName(string $name) : string

Get the short name of a field, e.g. App\Project\Page_Title will become Page_Title Used to remove unwanted backslashes from Solr cores.

Parameters
$name : string

Name to be shortened

Return values
string

Short name

getSuggestion()

Get a suggestion from Solr

getSuggestion() : mixed

        
On this page

Search results