You are here

public function StreamingExpressionBuilder::_timestamp_value in Search API Solr 8.2

Same name and namespace in other branches
  1. 8.3 src/Utility/StreamingExpressionBuilder.php \Drupal\search_api_solr\Utility\StreamingExpressionBuilder::_timestamp_value()
  2. 4.x src/Utility/StreamingExpressionBuilder.php \Drupal\search_api_solr\Utility\StreamingExpressionBuilder::_timestamp_value()

File

src/Utility/StreamingExpressionBuilder.php, line 546

Class

StreamingExpressionBuilder
Provides methods for creating streaming expressions targeting a given index.

Namespace

Drupal\search_api_solr\Utility

Code

public function _timestamp_value() {
  return 'val(' . $this->request_time . ') as timestamp';
}