XML Configuration Reference : Search : IsAliveCommand
 
IsAliveCommand
com.exalead.mercury.mami.search.v20.IsAliveCommand
Search API command
Parent elements:
com.exalead.mercury.mami.search.v20.SearchAPIConfig (as SearchAPIConfig)
Attributes:
Name
Type
Default value
Description
base
string
/search-api
HTTP path for this command
queryToPerform
string
q=IsAliveQuery
The isAlive can optionally perform a query to check that all components are ready. If you want this behavior, enter the search parameters to query for here. For example "q=test&logic=sl0". If this is null, the query won't be performed.
targetQueryCommand
string
/search-api
Command path on which the query will be performed.
performQuerySynchronously
boolean
Should the query be performed synchronously on isAlive call or should it run in a background thread, and cached result be returned.
asynchronousQueryDelayS
int
5
Elapsed between two queries if the query is performed asynchronously.