/**
  * @return mixed[]
  */
 private function getSolrQueryArrayRepresentation() : array
 {
     $fieldsQueryString = $this->convertCriteriaIntoSolrQueryString($this->criteria);
     $contextQueryString = $this->convertContextIntoQueryString($this->queryOptions->getContext());
     $queryString = sprintf('(%s) AND %s', $fieldsQueryString, $contextQueryString);
     $rowsPerPage = $this->queryOptions->getRowsPerPage();
     $offset = $this->queryOptions->getPageNumber() * $rowsPerPage;
     $sortOrderString = $this->getSortOrderString($this->queryOptions->getSortBy());
     return ['q' => $queryString, 'rows' => $rowsPerPage, 'start' => $offset, 'sort' => $sortOrderString];
 }