forked from IQSS/dataverse
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request IQSS#10579 from GlobalDataverseCommunityConsortium…
…/change_solr_doc_deletes Solr: don't delete docs that will just change
- Loading branch information
Showing
6 changed files
with
282 additions
and
97 deletions.
There are no files selected for viewing
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,9 @@ | ||
A features flag called "reduce-solr-deletes" has been added to improve how datafiles are indexed. When the flag is enabled, | ||
Dataverse wil avoid pre-emptively deleting existing solr documents for the files prior to sending updated information. This | ||
should improve performance and will allow additional optimizations going forward. | ||
|
||
The /api/admin/index/status and /api/admin/index/clear-orphans calls | ||
(see https://guides.dataverse.org/en/latest/admin/solr-search-index.html#index-and-database-consistency) | ||
will now find and remove (respectively) additional permissions related solr documents that were not being detected before. | ||
Reducing the overall number of documents will improve solr performance and large sites may wish to periodically call the | ||
clear-orphans API. |
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
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
Oops, something went wrong.