SilverStripe\FullTextSearch\Solr\SolrIndex::addAnalyzer
Index-time analyzer which is applied to a specific field.
Can be used to remove HTML tags, apply stemming, etc.
Signature
public function addAnalyzer(string
$field,
string
$type,
array
$params )
Parameters
$field
— string$type
— string$params
— array- parameters for the analyzer, usually at least a "class"