Package DE_EPAGES::RemoteSearch::API::Object::IndexManagerParams
Data container for IndexManager options. Providing standard getter and setter for each attribute (constructor argument). See new
Functions
- create
- drop
- enabled
- fix
- ignoreIsReadyToUse
- info
- log
- new
- nosolr
- reinit
- scheduleUpdates
- silent
- singleShopCalls
- statusCheckLoops
- testing
- update
- updateAttributes
- url
create
Getter/Setter for 'create' - create or use meta data and trigger shop indexing
Syntax |
my $CreateIndex = $Params->create(); $Params->create( $CreateIndex ); |
Input |
|
Return |
|
drop
Getter/Setter for 'drop' - reset meta data drop remote index
Syntax |
my $DropIndex = $Params->drop(); $Params->drop( $DropIndex ); |
Input |
|
Return |
|
enabled
Getter/Setter for 'enabled' - activate remote search for shop
Syntax |
my $EnableRemoteSearch = $Params->enabled(); $Params->enabled( $EnableRemoteSearch ); |
Input |
|
Return |
|
fix
Getter/Setter for 'fix' - rebuild index to fix broken index
Syntax |
my $FixBroken = $Params->fix(); $Params->fix( $FixBroken ); |
Input |
|
Return |
|
ignoreIsReadyToUse
Getter/Setter for 'ignoreIsReadyToUse' - skip checking if index is usable in Storefront
Syntax |
my $SkipCheckReady = $Params->ignoreIsReadyToUse(); $Params->ignoreIsReadyToUse( $SkipCheckReady ); |
Input |
|
Return |
|
info
Getter/Setter for 'info' - write meta data to <STDOUT>
Syntax |
my $InfoRequest = $Params->info(); $Params->info( $InfoRequest ); |
Input |
|
Return |
|
log
Getter/Setter for 'log' - activate communication log for shop
Syntax |
my $LogCommunication = $Params->log(); $Params->log( $LogCommunication ); |
Input |
|
Return |
|
new
Syntax |
my $Params = DE_EPAGES::RemoteSearch::API::Object::IndexManagerParams->new(%Options) |
Input |
|
Return |
|
nosolr
Getter/Setter for 'nosolr' - update shop collection without touching the index
Syntax |
my $Nosolr = $Params->nosolr(); $Params->nosolr( $Nosolr ); |
Input |
|
Return |
|
reinit
Getter/Setter for 'reinit' - replace metadata and remote index new ones
Syntax |
my $ReinitIndex = $Params->reinit(); $Params->reinit( $ReinitIndex ); |
Input |
|
Return |
|
scheduleUpdates
Getter/Setter for 'scheduleUpdates' - De-/activate scheduling update information triggered by hooks
Syntax |
my $IsScheduleMode = $Params->scheduleUpdates(); $Params->scheduleUpdates( $IsScheduleMode ); |
Input |
|
Return |
|
silent
Getter/Setter for 'silent' - surpress output to <STDOUT>
Syntax |
my $IsSilent = $Params->silent(); $Params->silent( $IsSilent ); |
Input |
|
Return |
|
singleShopCalls
Getter/Setter for 'singleShopCalls' - Use slower single-shop update call to epagesj.
Syntax |
my $IsSingleShopCalls = $Params->singleShopCalls(); $Params->singleShopCalls( $IsSingleShopCalls ); |
Input |
|
Return |
|
statusCheckLoops
Getter/Setter for 'statusCheckLoops' - poll index X number of times. Each loop waits for certain amount of time: Sleep time in seconds for each loop: 2,3,4,5,6,7,8,8,8,8...
Syntax |
my $Wait = $Params->statusCheckLoops(); $Params->statusCheckLoops( $Wait ); |
Input |
|
Return |
|
testing
Getter/Setter for 'testing' - test mode no chance will be applied
Syntax |
my $IsTestRun = $Params->testing(); $Params->testing( $IsTestRun ); |
Input |
|
Return |
|
update
Getter/Setter for 'update' - update index by completly rebuilding remote index
Syntax |
my $DoUpdate = $Params->update(); $Params->update( $DoUpdate ); |
Input |
|
Return |
|
updateAttributes
Getter/Setter for 'updateAttributes' - write meta data (log, url, enabled) to Shop/RootObject
Syntax |
my $UpdateAttributes = $Params->updateAttributes(); $Params->updateAttributes( $UpdateAttributes ); |
Input |
|
Return |
|
url
Getter/Setter for 'url' - url for remote search provider
Syntax |
my $RemoteHostURL = $Params->url(); $Params->url( $RemoteHostURL ); |
Input |
|
Return |
|