public class ExpandExecutor
extends java.lang.Object
implements com.exalead.search.SearchLogicRunner
Modifier and Type | Field and Description |
---|---|
protected com.exalead.search.outputs.ExpandStreamFormatter |
af |
protected com.exalead.search.internal.answer.AnswerAllocationContext |
answerAllocationContext |
java.util.List<com.exalead.search.index6.CategorySynthesisProcessor> |
categoryProcessors |
protected static org.apache.log4j.Logger |
dlogger |
protected FullHitsPipelineHelper |
fullHitsPipe |
protected static org.apache.log4j.Logger |
logger |
protected int |
nbPath |
protected com.exalead.io.FastBufferedOutputStream |
output |
protected StandardQueryContext |
queryContext |
protected com.exalead.search.ExpandResult |
result |
protected com.exalead.search.index6.SliceAndCGData |
scgdata |
protected com.exalead.search.index6.expand.ExpandContext |
searchContext |
protected SynthesisContainer |
synthesisContainer |
protected SearchTarget |
target |
protected com.exalead.tick2.TickMessageAllocator |
tickMessageAllocatorContext |
Constructor and Description |
---|
ExpandExecutor() |
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 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) |
void |
onInit() |
protected boolean |
onPathReceived(com.exalead.search.index6.expand.PathMessage path) |
protected boolean |
onSearchErrorReceived(java.lang.String errorMessage) |
protected boolean |
prepareForQuery() |
void |
search(com.exalead.search.SearchContainer container) |
protected SearchTarget target
protected StandardQueryContext queryContext
protected com.exalead.search.index6.SliceAndCGData scgdata
protected com.exalead.search.ExpandResult result
protected com.exalead.io.FastBufferedOutputStream output
protected int nbPath
protected com.exalead.search.outputs.ExpandStreamFormatter af
protected final FullHitsPipelineHelper fullHitsPipe
protected final com.exalead.search.index6.expand.ExpandContext searchContext
protected final com.exalead.search.internal.answer.AnswerAllocationContext answerAllocationContext
protected final com.exalead.tick2.TickMessageAllocator tickMessageAllocatorContext
protected final SynthesisContainer synthesisContainer
public final java.util.List<com.exalead.search.index6.CategorySynthesisProcessor> categoryProcessors
protected static org.apache.log4j.Logger logger
protected static org.apache.log4j.Logger dlogger
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
QueryProcessingException
protected boolean prepareForQuery() throws QueryProcessingException
QueryProcessingException
protected boolean onPathReceived(com.exalead.search.index6.expand.PathMessage path) throws com.exalead.search.SearchProcessingException
com.exalead.search.SearchProcessingException
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)
protected boolean onCategoryGroupReceived(int id, com.exalead.search.index6.CategorySynthesisMessage message)
public void search(com.exalead.search.SearchContainer container) throws QueryProcessingException, com.exalead.search.SearchProcessingException
search
in interface com.exalead.search.SearchLogicRunner
QueryProcessingException
com.exalead.search.SearchProcessingException
Copyright © 2013 Dassault Systèmes, All Rights Reserved.