I send this url: /index.php/index/search/test with ajax, as you see in the following code, also I handle connection in index to find the text($args, &$request) function. this function run well but the $request is null.
$.ajax({
url: '{/literal}{$baseUrl}{literal}/index.php/index/search/test',
type: 'POST',
data: dataString,
dataType: 'json',
success: function (response) {//response is value returned from php (for your example it's "bye bye"
alert(response);
}
});
how can I use ArticleSearch::getSearchFilters($request) methode as well, or how can I have $request as it is available in SearchHandler::search($args, &$request)?