UpdateFederatedSearchIndex
class UpdateFederatedSearchIndex extends Job implements ShouldQueue
Traits
Properties
FederatedSearchInstance | $instance | The instance from which the index should be updated. |
|
protected bool | $deleteWhenMissingModels | Ignore this job if the volume does not exist any more. |
|
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 54
void
__construct(FederatedSearchInstance $instance)
Create a new job instance.
at line 64
void
handle()
Execute the job.
at line 109
protected Validator
getValidator(Response $response)
Get the validator instance for the response.
at line 159
protected array
updateLabelTreeIndex(array $index)
Update the indexed label trees.
at line 199
protected array
updateProjectIndex(array $index)
Update the indexed projects.
at line 242
protected array
updateVolumeIndex(array $index)
Update the indexed projects.
at line 291
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 359
protected
cleanupDanglingModels()
Delete all federated search models of the current instance that are not accessible by any user.