Skip to content

Commit

Permalink
Indexing Woes
Browse files Browse the repository at this point in the history
Fix issue where method deleteRecord() was missing result.groupedWorkId in PalaceProjectExportMain.java - causing indexers to stall
Use language codes for Boundless titles instead of the full language when building Grouped Work permanent_id

Rebuilt all jar files (NOTE: the palace_project_export.jar did not change after rebuilding)

Updated release notes

To test:
Run Palace Project and Boundless exports
  • Loading branch information
K-Alette committed Sep 27, 2024
1 parent 676c3bb commit 3260332
Show file tree
Hide file tree
Showing 20 changed files with 9 additions and 2 deletions.
Binary file modified code/axis_360_export/axis_360_export.jar
Binary file not shown.
Binary file modified code/carlx_export/carlx_export.jar
Binary file not shown.
Binary file modified code/cloud_library_export/cloud_library_export.jar
Binary file not shown.
Binary file modified code/events_indexer/events_indexer.jar
Binary file not shown.
Binary file modified code/evergreen_export/evergreen_export.jar
Binary file not shown.
Binary file modified code/evolve_export/evolve_export.jar
Binary file not shown.
Binary file modified code/hoopla_export/hoopla_export.jar
Binary file not shown.
Binary file modified code/koha_export/koha_export.jar
Binary file not shown.
Binary file modified code/oai_indexer/oai_indexer.jar
Binary file not shown.
Binary file modified code/overdrive_extract/overdrive_extract.jar
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ private static void removePalaceProjectTitleFromCollection(long availabilityId,
getGroupedWorkIndexer().processGroupedWork(result.permanentId);
} else if (result.deleteWork) {
//Delete the work from solr and the database
getGroupedWorkIndexer().deleteRecord(result.permanentId);
getGroupedWorkIndexer().deleteRecord(result.permanentId, result.groupedWorkId);
}
}
}
Expand Down Expand Up @@ -818,7 +818,7 @@ private static void processRecordsToReload(PalaceProjectExportLogEntry logEntry)
getGroupedWorkIndexer().processGroupedWork(result.permanentId);
} else if (result.deleteWork) {
//Delete the work from solr and the database
getGroupedWorkIndexer().deleteRecord(result.permanentId);
getGroupedWorkIndexer().deleteRecord(result.permanentId, result.groupedWorkId);
}
markRecordToReloadAsProcessedStmt.setLong(1, recordToReloadId);
markRecordToReloadAsProcessedStmt.executeUpdate();
Expand Down
Binary file modified code/polaris_export/polaris_export.jar
Binary file not shown.
Binary file modified code/reindexer/reindexer.jar
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -850,6 +850,9 @@ public String groupAxis360Record(JSONObject itemDetails, String axis360Id, Strin
String title = getAxis360FieldValue(itemDetails, "title");
String formatType = itemDetails.getString("formatType");
String language = getAxis360FieldValue(itemDetails, "language");
if (language.length() > 3) {
language = translateValue("language_to_three_letter_code", language);
}

RecordIdentifier primaryIdentifier = new RecordIdentifier("axis360", axis360Id);

Expand Down
Binary file modified code/sideload_processing/sideload_processing.jar
Binary file not shown.
Binary file modified code/sierra_export_api/sierra_export_api.jar
Binary file not shown.
Binary file modified code/symphony_export/symphony_export.jar
Binary file not shown.
Binary file modified code/user_list_indexer/user_list_indexer.jar
Binary file not shown.
4 changes: 4 additions & 0 deletions code/web/release_notes/24.09.01.MD
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
### Self Check Tester
- Add additional checking if for blank values from getActiveLocation in addition to null values and add additional debugging to self check tester. (*MDN*)

### Indexing updates
- Use language codes for Boundless titles instead of the full language when building Grouped Work permanent_id (*KL*)
- Fix issue where method deleteRecord() is not found in the Palace Project Export, causing it to stall (*KL*)

### Other updates
- Disabled the 'Show This Branch In Available At and Owning Location Facets' filter and setting as it is interacting poorly with facet labels. (*CZ*)
- Increased the length for debuginfo column in the grouped_work_debug_info table (Ticket 138696) (*KL*)
Expand Down
Binary file modified code/web_indexer/web_indexer.jar
Binary file not shown.

0 comments on commit 3260332

Please sign in to comment.