Метод | Описание | |
---|---|---|
__construct ( Massive\Bundle\SearchBundle\Search\Factory $factory, |
||
getSubscribedEvents ( ) | ||
handleBlameTimestamp ( Massive\Bundle\SearchBundle\Search\Event\PreIndexEvent $event ) | Map blame and timestamp information to the search document. | |
handleBlameTimestampHitMapping ( Massive\Bundle\SearchBundle\Search\Event\HitEvent $event ) | Map the changer and created from the field data to the search document (we don't include the field data in the search result API). |
Метод | Описание | |
---|---|---|
doHandleBlameTimestampHitMapping ( |
||
getFieldValue ( mixed $document, mixed $fieldName ) | Return the named field from the document or return null. | |
mapCreatorAndChanger ( |
Map the creator and changer to the document. | |
mapTimestamp ( |
Map timestamps to the search document. |
public __construct ( Massive\Bundle\SearchBundle\Search\Factory $factory, |
||
$factory | Massive\Bundle\SearchBundle\Search\Factory | |
$entityManager |
public handleBlameTimestamp ( Massive\Bundle\SearchBundle\Search\Event\PreIndexEvent $event ) | ||
$event | Massive\Bundle\SearchBundle\Search\Event\PreIndexEvent |
public handleBlameTimestampHitMapping ( Massive\Bundle\SearchBundle\Search\Event\HitEvent $event ) | ||
$event | Massive\Bundle\SearchBundle\Search\Event\HitEvent |