Метод | Описание | |
---|---|---|
__construct ( Massive\Bundle\SearchBundle\Search\SearchManagerInterface $searchManager, Massive\Bundle\SearchBundle\Search\Metadata\ProviderInterface $metadataProvider, Sulu\Component\Security\Authorization\SecurityCheckerInterface $securityChecker, FOS\RestBundle\View\ViewHandlerInterface $viewHandler, Sulu\Component\Rest\ListBuilder\ListRestHelperInterface $listRestHelper, Sulu\Bundle\SearchBundle\Search\Configuration\IndexConfigurationProviderInterface $indexConfigurationProvider ) | ||
indexesAction ( ) : |
Return a JSON encoded scalar array of index names. | |
searchAction ( |
Perform a search and return a JSON response. |
Метод | Описание | |
---|---|---|
getAllowedIndexes ( ) : array | ||
getIndexTotals ( $hits ) : array | Return the category totals for the search results. |
public __construct ( Massive\Bundle\SearchBundle\Search\SearchManagerInterface $searchManager, Massive\Bundle\SearchBundle\Search\Metadata\ProviderInterface $metadataProvider, Sulu\Component\Security\Authorization\SecurityCheckerInterface $securityChecker, FOS\RestBundle\View\ViewHandlerInterface $viewHandler, Sulu\Component\Rest\ListBuilder\ListRestHelperInterface $listRestHelper, Sulu\Bundle\SearchBundle\Search\Configuration\IndexConfigurationProviderInterface $indexConfigurationProvider ) | ||
$searchManager | Massive\Bundle\SearchBundle\Search\SearchManagerInterface | |
$metadataProvider | Massive\Bundle\SearchBundle\Search\Metadata\ProviderInterface | |
$securityChecker | Sulu\Component\Security\Authorization\SecurityCheckerInterface | |
$viewHandler | FOS\RestBundle\View\ViewHandlerInterface | |
$listRestHelper | Sulu\Component\Rest\ListBuilder\ListRestHelperInterface | |
$indexConfigurationProvider | Sulu\Bundle\SearchBundle\Search\Configuration\IndexConfigurationProviderInterface |
public indexesAction ( ) : |
||
Результат |
public searchAction ( |
||
$request | ||
Результат |