org.elasticsearch.search.facet
Class FacetPhase

java.lang.Object
  extended by org.elasticsearch.search.facet.FacetPhase
All Implemented Interfaces:
SearchPhase

public class FacetPhase
extends Object
implements SearchPhase


Constructor Summary
FacetPhase(FacetParseElement facetParseElement, FacetBinaryParseElement facetBinaryParseElement)
           
 
Method Summary
 void execute(SearchContext context)
           
 Map<String,? extends SearchParseElement> parseElements()
           
 void preProcess(SearchContext context)
          Performs pre processing of the search context before the execute.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FacetPhase

@Inject
public FacetPhase(FacetParseElement facetParseElement,
                         FacetBinaryParseElement facetBinaryParseElement)
Method Detail

parseElements

public Map<String,? extends SearchParseElement> parseElements()
Specified by:
parseElements in interface SearchPhase

preProcess

public void preProcess(SearchContext context)
Description copied from interface: SearchPhase
Performs pre processing of the search context before the execute.

Specified by:
preProcess in interface SearchPhase

execute

public void execute(SearchContext context)
             throws ElasticSearchException
Specified by:
execute in interface SearchPhase
Throws:
ElasticSearchException


Copyright © 2009-2012. All Rights Reserved.