public abstract class UnrankedSearchExecutor
extends java.lang.Object
implements com.exalead.search.SearchLogicRunner
Modifier and Type | Field and Description |
---|---|
protected com.exalead.search.internal.answer.AnswerAllocationContext |
answerAllocationContext |
protected QueryProcessingContext |
antiGC |
java.util.List<com.exalead.search.index6.CategorySynthesisProcessor> |
categoryProcessors |
protected static org.apache.log4j.Logger |
dlogger |
protected FullHitsPipelineHelper |
fullHitsPipe |
LogBehaviour |
limitBehav |
boolean |
limitError |
protected static org.apache.log4j.Logger |
logger |
protected StandardQueryContext |
queryContext |
protected com.exalead.search.index6.SliceAndCGData |
scgdata |
protected com.exalead.search.index6.stream.Stream6NativeContext |
searchContext |
LogBehaviour |
sliceDownBehav |
boolean |
sliceDownError |
protected SynthesisContainer |
synthesisContainer |
protected SearchTarget |
target |
protected com.exalead.tick2.TickMessageAllocator |
tickMessageAllocatorContext |
LogBehaviour |
timeoutBehav |
boolean |
timeoutError |
Constructor and Description |
---|
UnrankedSearchExecutor() |
Modifier and Type | Method and Description |
---|---|
protected void |
buildQueryPerContentGroup()
Build the internal tick messages, and configure everything so that all
content groups work on them.
|
protected int |
computeMaxFetchedHits() |
protected abstract com.exalead.search.BaseSearchResult |
getSearchResult() |
protected boolean |
onCategoryGroupReceived(int id,
com.exalead.search.index6.CategorySynthesisMessage message) |
void |
onDeinit() |
protected boolean |
onEndOfQueryReceived(long nProcessedHits,
long nMatches,
boolean estimated,
long indexCPUTime,
byte[] slicesInfo) |
protected abstract boolean |
onFullHitReceived(com.exalead.search.fullhits.FullHitMessage hit) |
void |
onInit() |
protected boolean |
onSearchErrorReceived(java.lang.String errorMessage) |
protected void |
prepareForQuery() |
protected SearchTarget target
protected StandardQueryContext queryContext
protected com.exalead.search.index6.SliceAndCGData scgdata
protected final FullHitsPipelineHelper fullHitsPipe
protected final SynthesisContainer synthesisContainer
public final java.util.List<com.exalead.search.index6.CategorySynthesisProcessor> categoryProcessors
protected final com.exalead.search.index6.stream.Stream6NativeContext searchContext
protected final com.exalead.search.internal.answer.AnswerAllocationContext answerAllocationContext
protected final com.exalead.tick2.TickMessageAllocator tickMessageAllocatorContext
protected QueryProcessingContext antiGC
protected static org.apache.log4j.Logger logger
protected static org.apache.log4j.Logger dlogger
public boolean sliceDownError
public LogBehaviour sliceDownBehav
public boolean timeoutError
public LogBehaviour timeoutBehav
public boolean limitError
public LogBehaviour limitBehav
public void onInit()
onInit
in interface com.exalead.search.SearchLogicRunner
public void onDeinit()
onDeinit
in interface com.exalead.search.SearchLogicRunner
protected void buildQueryPerContentGroup() throws QueryProcessingException
java.lang.Exception
QueryProcessingException
protected int computeMaxFetchedHits()
protected void prepareForQuery() throws QueryProcessingException, com.exalead.search.SearchProcessingException
QueryProcessingException
com.exalead.search.SearchProcessingException
protected abstract com.exalead.search.BaseSearchResult getSearchResult()
protected abstract boolean onFullHitReceived(com.exalead.search.fullhits.FullHitMessage hit)
protected boolean onCategoryGroupReceived(int id, com.exalead.search.index6.CategorySynthesisMessage message)
protected boolean onSearchErrorReceived(java.lang.String errorMessage) throws com.exalead.search.SearchProcessingException
com.exalead.search.SearchProcessingException
protected boolean onEndOfQueryReceived(long nProcessedHits, long nMatches, boolean estimated, long indexCPUTime, byte[] slicesInfo) throws com.exalead.search.SearchProcessingException
com.exalead.search.SearchProcessingException
Copyright © 2013 Dassault Systèmes, All Rights Reserved.