public function addAnalyzer($field, $type, $params)
    {
        $fullFields = $this->fieldData($field);
        if ($fullFields) {
            foreach ($fullFields as $fullField => $spec) {
                if (!isset($this->analyzerFields[$fullField])) {
                    $this->analyzerFields[$fullField] = array();
                }
                $this->analyzerFields[$fullField][$type] = $params;
            }
        }
    }
public function addAnalyzer($field, $type, $params)
    {
        $fullFields = $this->fieldData($field);
        if ($fullFields) {
            foreach ($fullFields as $fullField => $spec) {
                if (!isset($this->analyzerFields[$fullField])) {
                    $this->analyzerFields[$fullField] = array();
                }
                $this->analyzerFields[$fullField][$type] = $params;
            }
        }
    }
public function addAnalyzer ( $ field , $ type , $ params ) { $ fullFields = $ this -> fieldData ( $ field ) ; if ( $ fullFields ) { foreach ( $ fullFields as $ fullField => $ spec ) { if ( ! isset ( $ this -> analyzerFields [ $ fullField ] ) ) { $ this -> analyzerFields [ $ fullField ] = array ( ) ; } $ this -> analyzerFields [ $ fullField ] [ $ type ] = $ params ; } } }
Index-time analyzer which is applied to a specific field.
Can be used to remove HTML tags, apply stemming, etc.

@see http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters#solr.WhitespaceTokenizerFactory

@param string $field
@param string $type
@param array $params parameters for the analyzer, usually at least a "class"
Index - time analyzer which is applied to a specific field . Can be used to remove HTML tags apply stemming etc .