original_string: public function relativeDateFilter($field, $fromUnit = self::RELATIVE_DATE_FILTER_UNIT_MINUTES, $fromInterval, $toUnit = self::RELATIVE_DATE_FILTER_UNIT_MINUTES, $toInterval = 0, $dateFormat = self::RELATIVE_DATE_FILTER_DATEFORMAT, $isNegative = false) {
  		$parameters = array(
  	        'fromUnit' => $fromUnit,
  	        'fromInterval' => $fromInterval,
  	        'toUnit' => $toUnit,
  		    'toInterval' => $toInterval,
  		    'dateFormat' => $dateFormat,
  		    'field' => $field
  	    );
  	    $this->addFilter(null, self::RELATIVE_DATE_FILTER, $isNegative, $parameters);
  		return $this;
  	}
code: public function relativeDateFilter($field, $fromUnit = self::RELATIVE_DATE_FILTER_UNIT_MINUTES, $fromInterval, $toUnit = self::RELATIVE_DATE_FILTER_UNIT_MINUTES, $toInterval = 0, $dateFormat = self::RELATIVE_DATE_FILTER_DATEFORMAT, $isNegative = false) {
  		$parameters = array(
  	        'fromUnit' => $fromUnit,
  	        'fromInterval' => $fromInterval,
  	        'toUnit' => $toUnit,
  		    'toInterval' => $toInterval,
  		    'dateFormat' => $dateFormat,
  		    'field' => $field
  	    );
  	    $this->addFilter(null, self::RELATIVE_DATE_FILTER, $isNegative, $parameters);
  		return $this;
  	}
code_tokens: public function relativeDateFilter ( $ field , $ fromUnit = self :: RELATIVE_DATE_FILTER_UNIT_MINUTES , $ fromInterval , $ toUnit = self :: RELATIVE_DATE_FILTER_UNIT_MINUTES , $ toInterval = 0 , $ dateFormat = self :: RELATIVE_DATE_FILTER_DATEFORMAT , $ isNegative = false ) { $ parameters = array ( 'fromUnit' => $ fromUnit , 'fromInterval' => $ fromInterval , 'toUnit' => $ toUnit , 'toInterval' => $ toInterval , 'dateFormat' => $ dateFormat , 'field' => $ field ) ; $ this -> addFilter ( null , self :: RELATIVE_DATE_FILTER , $ isNegative , $ parameters ) ; return $ this ; }
docstring: Add a RelativeDateFilter on request
  @return OpenSearchServer\Search
docstring_tokens: Add a RelativeDateFilter on request