forked from Aspen-Discovery/aspen-discovery
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add additional configuration options to System Variables to control h…
…ow solr commits are done during record deletions
- Loading branch information
Showing
5 changed files
with
72 additions
and
3 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
## Aspen Discovery Updates | ||
### Index Updates | ||
- Add additional configuration options to System Variables to control how solr commits are done during record deletions. (*MDN*) | ||
|
||
## This release includes code contributions from | ||
- ByWater Solutions | ||
- Mark Noble (MDN) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<?php | ||
|
||
/** @noinspection PhpUnused */ | ||
function getUpdates24_07_03(): array { | ||
/** @noinspection SqlWithoutWhere */ | ||
return [ | ||
/*'name' => [ | ||
'title' => '', | ||
'description' => '', | ||
'continueOnError' => false, | ||
'sql' => [ | ||
'' | ||
] | ||
], //name*/ | ||
|
||
//mark - ByWater | ||
'add_configuration_for_index_deletions' => [ | ||
'title' => 'Add configuration for index deletions', | ||
'description' => 'Add additional configuration for how records are deleted from solr', | ||
'continueOnError' => true, | ||
'sql' => [ | ||
"ALTER TABLE system_variables ADD COLUMN deletionCommitInterval INT DEFAULT 1000", | ||
"ALTER TABLE system_variables ADD COLUMN waitAfterDeleteCommit TINYINT DEFAULT 0", | ||
] | ||
], //add_configuration_for_index_deletions | ||
|
||
]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters