<?php

namespace Oro\Bundle\SearchBundle\Engine;

use Oro\Bundle\SearchBundle\Query\Query;
use Oro\Bundle\SearchBundle\Query\Result;

interface EngineV2Interface
{
    /**
     * Performs search in index according to passed query
     *
     * @param Query $query
     * @param array $context
     *
     * @return Result
     */
    public function search(Query $query, $context = []);
}

<?php

namespace Oro\Bundle\SearchBundle\Engine;

use Oro\Bundle\SearchBundle\Query\Query;
use Oro\Bundle\SearchBundle\Query\Result;

interface EngineV2Interface
{
    /**
     * Performs search in index according to passed query
     *
     * @param Query $query
     * @param array $context
     *
     * @return Result
     */
    public function search(Query $query, array $context = []);
}

Create a new Website Search system in the WebsiteSearchBundle - cs fixes - fix pr comments
BB-4074: Create a new Website Search system in the WebsiteSearchBundle
 - cs fixes
 - fix pr comments
