public function getSolrId(Index $index) { if (!isset($this->map[$index->getIdentifier()])) { $suffix = $index->isFuzzyMatching() ? '_t' : '_s'; if ($index->isDefaultSearchable()) { $suffix .= '_d'; } $this->map[$index->getIdentifier()] = $index->getIdentifier() . $suffix; } return $this->map[$index->getIdentifier()]; }