public class SearchCommand extends BaseSearchCommand
config, lastSemaphoreWarning, nbQueuedQueries, searchRunnerPool, semaphore, shc
delegate, logger, queryState, runningQueries, startingQueries
Constructor and Description |
---|
SearchCommand(SearchCommand config) |
SearchCommand(SearchCommand config,
boolean unitTest) |
Modifier and Type | Method and Description |
---|---|
static com.exalead.datamodel.utils.DataModelExplorer |
computeDataModelExplorer(java.lang.String searchLogicName) |
void |
configure()
Build the configuration
|
void |
execute(java.lang.String pathInfo,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
Execute the command
|
void |
onDeinit()
When this is called, this command is not used anymore, and the lock has been released.
|
void |
onPreReconfiguration()
Called when this command is about to be removed following a SearchAPI reconfiguration.
|
getArgsFromRequest, getArgsFromRequest, getArgsFromXMLV10Request, sendErrorWithDispatch, waitForStartingQueries
onQueryDone, onQueryStarted, onQueryStarting, onReconfigurationStarting, removeJettyStuff, sendError, setSearchAPIDelegate
public SearchCommand(SearchCommand config)
public SearchCommand(SearchCommand config, boolean unitTest)
public void onPreReconfiguration()
Command
onPreReconfiguration
in class Command
public void configure()
Command
configure
in class BaseSearchCommand
@Nullable public static com.exalead.datamodel.utils.DataModelExplorer computeDataModelExplorer(java.lang.String searchLogicName)
public void onDeinit() throws java.lang.Exception
Command
onDeinit
in class BaseSearchCommand
java.lang.Exception
public void execute(java.lang.String pathInfo, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException, java.io.IOException
Command
Copyright © 2013 Dassault Systèmes, All Rights Reserved.