UpdateFederatedSearchIndex
class UpdateFederatedSearchIndex extends Job implements ShouldQueue
Traits
Properties
| FederatedSearchInstance | $instance | The instance from which the index should be updated. |
|
| protected int | $backoff | Retry a failed job after 5 minutes. |
Methods
Execute the job.
Get the validator instance for the response.
Update the indexed label trees.
Update the indexed projects.
Update the indexed projects.
Update which user may access which federated search model that was created in this job.
Delete all federated search models of the current instance that are not accessible by any user.
Details
at line 49
void
__construct(FederatedSearchInstance $instance)
Create a new job instance.
at line 59
void
handle()
Execute the job.
at line 104
protected Validator
getValidator(Response $response)
Get the validator instance for the response.
at line 154
protected array
updateLabelTreeIndex(array $index)
Update the indexed label trees.
at line 194
protected array
updateProjectIndex(array $index)
Update the indexed projects.
at line 237
protected array
updateVolumeIndex(array $index)
Update the indexed projects.
at line 285
protected
updateUserAccess(array $index, array $labelTreeIdMap, array $projectIdMap, array $volumeIdMap)
Update which user may access which federated search model that was created in this job.
at line 353
protected
cleanupDanglingModels()
Delete all federated search models of the current instance that are not accessible by any user.