/**
  * @param object $entity
  * @return \SolrDocument
  */
 public function createDocument(MetaInformation $meta)
 {
     $document = new \SolrInputDocument();
     $document->addField('id', $meta->getEntityId());
     $document->addField('document_name_s', $meta->getDocumentName());
     $document->setBoost($meta->getBoost());
     return $document;
 }
 /**
  * @param MetaInformation $metaInformation
  * @return string
  */
 protected function createDocumentNameWithId(MetaInformation $metaInformation)
 {
     return $metaInformation->getDocumentName() . ':' . $metaInformation->getEntityId();
 }