You are here

public function StreamingExpressionBuilder::_topic in Search API Solr 4.x

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

Eases topic() expressions if there's no specific checkpoint collection.

Return value

string A chainable streaming expression as string.

File

src/Utility/StreamingExpressionBuilder.php, line 716

Class

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

Namespace

Drupal\search_api_solr\Utility

Code

public function _topic() {
  return $this
    ->topic($this
    ->_checkpoints_collection(), $this
    ->_collection(), 'initialCheckpoint=0', implode(', ', func_get_args()));
}