public function getSetFacetValueUri(SearchRequest $previousSearchRequest, $facetName, $facetValue)
    {
        $previousSearchRequest = $previousSearchRequest
            ->getCopyForSubRequest()->removeAllGroupItemPages()->removeAllFacetValuesByName($facetName);

        return $this->getAddFacetValueUri($previousSearchRequest, $facetName, $facetValue);
    }
public function getSetFacetValueUri(SearchRequest $previousSearchRequest, $facetName, $facetValue)
    {
        $previousSearchRequest = $previousSearchRequest
            ->getCopyForSubRequest()->removeAllGroupItemPages()->removeAllFacetValuesByName($facetName);

        return $this->getAddFacetValueUri($previousSearchRequest, $facetName, $facetValue);
    }
public function getSetFacetValueUri ( SearchRequest $ previousSearchRequest , $ facetName , $ facetValue ) { $ previousSearchRequest = $ previousSearchRequest -> getCopyForSubRequest ( ) -> removeAllGroupItemPages ( ) -> removeAllFacetValuesByName ( $ facetName ) ; return $ this -> getAddFacetValueUri ( $ previousSearchRequest , $ facetName , $ facetValue ) ; }
Removes all other facet values for this name and only set's the passed value for the facet.

@param SearchRequest $previousSearchRequest
@param $facetName
@param $facetValue
@return string
Removes all other facet values for this name and only set s the passed value for the facet .