public function StreamingExpressionBuilder::_timestamp_value in Search API Solr 4.x
Same name and namespace in other branches
- 8.3 src/Utility/StreamingExpressionBuilder.php \Drupal\search_api_solr\Utility\StreamingExpressionBuilder::_timestamp_value()
- 8.2 src/Utility/StreamingExpressionBuilder.php \Drupal\search_api_solr\Utility\StreamingExpressionBuilder::_timestamp_value()
Returns the timestamp expression for the current request.
Return value
string The timestamp expression.
File
- src/
Utility/ StreamingExpressionBuilder.php, line 706
Class
- StreamingExpressionBuilder
- Provides methods for creating streaming expressions targeting a given index.
Namespace
Drupal\search_api_solr\UtilityCode
public function _timestamp_value() {
return 'val(' . $this->requestTime . ') as timestamp';
}