public function addFacetValue($facetName, $facetValue)
    {
        if ($this->getHasFacetValue($facetName, $facetValue)) {
            return $this;
        }

        $facetValues = $this->getActiveFacets();
        $facetValues[] = $facetName . ':' . $facetValue;
        $this->setActiveFacets($facetValues);

        $this->stateChanged = true;
        return $this;
    }
public function addFacetValue($facetName, $facetValue)
    {
        if ($this->getHasFacetValue($facetName, $facetValue)) {
            return $this;
        }

        $facetValues = $this->getActiveFacets();
        $facetValues[] = $facetName . ':' . $facetValue;
        $this->setActiveFacets($facetValues);

        $this->stateChanged = true;
        return $this;
    }
public function addFacetValue ( $ facetName , $ facetValue ) { if ( $ this -> getHasFacetValue ( $ facetName , $ facetValue ) ) { return $ this ; } $ facetValues = $ this -> getActiveFacets ( ) ; $ facetValues [ ] = $ facetName . ':' . $ facetValue ; $ this -> setActiveFacets ( $ facetValues ) ; $ this -> stateChanged = true ; return $ this ; }
Adds a facet value to the request.

@param string $facetName
@param mixed $facetValue

@return SearchRequest
Adds a facet value to the request .