org.elasticsearch.search.facet
Class FacetPhase
java.lang.Object
org.elasticsearch.search.facet.FacetPhase
- All Implemented Interfaces:
- SearchPhase
public class FacetPhase
- extends Object
- implements SearchPhase
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FacetPhase
@Inject
public FacetPhase(FacetParseElement facetParseElement,
FacetBinaryParseElement facetBinaryParseElement)
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.