public function StreamingExpressionBuilder::_export_all in Search API Solr 8.3
Same name and namespace in other branches
- 8.2 src/Utility/StreamingExpressionBuilder.php \Drupal\search_api_solr\Utility\StreamingExpressionBuilder::_export_all()
- 4.x src/Utility/StreamingExpressionBuilder.php \Drupal\search_api_solr\Utility\StreamingExpressionBuilder::_export_all()
Eases search() streaming expressions if all results are required.
Internally this function switches to the /export query type by default. But if you run into errors like "field XY requires DocValues" you should use _search_all().
Return value
string A chainable streaming expression as string.
File
- src/
Utility/ StreamingExpressionBuilder.php, line 551
Class
- StreamingExpressionBuilder
- Provides methods for creating streaming expressions targeting a given index.
Namespace
Drupal\search_api_solr\UtilityCode
public function _export_all() {
return $this
->search($this
->_collection(), implode(', ', func_get_args()), 'qt="/export"');
}