SilverStripe Search

Documentation

Table of Contents

Packages

Application
IDEAnnotatorCore
IDEAnnotatorExtensions
IDEAnnotatorGenerators
IDEAnnotatorHelpers
IDEAnnotatorTasks
Default
Firesphere
SilverStripe

Namespaces

SilverLeague
Firesphere
SilverStripe

Functions

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

Functions

getSuggestion()

Get a suggestion from Solr

getSuggestion() : mixed

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

Search results