\ElasticSearchPage_Controller
Synopsis
class ElasticSearchPage_Controller
extends Page_Controller
{
- // members
- private static array $allowed_actions = ;
- // methods
- public void init()
- public void similar()
- private void getSimilarTerms()
- public void index()
- private void dealWithSuggestedQuery()
- private void successfulSearch()
- public void QueryIsEmpty()
- public void submit()
- public void SearchForm()
- private void isParamSet()
- private void primeElasticaSearcherFromRequest()
- private void setMoreLikeThisParamsFromRequest()
- private void dealWithAggregation()
- private void addSiteTreeFilterIfRequired()
- private void getSelectedSearchFields()
- private void initialiseDataArray()
- private void renderResults()
- private void calculateTime()
- private void checkForSimulatedServerDown()
Hierarchy
Extends
- Page_Controller
Members
private
- $allowed_actions
Methods
private
- addSiteTreeFilterIfRequired()
- calculateTime()
- checkForSimulatedServerDown()
- dealWithAggregation()
- dealWithSuggestedQuery()
- getSelectedSearchFields()
- getSimilarTerms()
- initialiseDataArray()
- isParamSet()
- primeElasticaSearcherFromRequest() — Set the start page from the request and results per page for a given searcher object.
- renderResults()
- setMoreLikeThisParamsFromRequest() — Set the admin configured similarity parameters.
- successfulSearch()
public
- QueryIsEmpty()
- SearchForm()
- index()
- init()
- similar()
- submit() — Process submission of the search form, redirecting to a URL that will render search results.