From dd0eb429bfb80754cc978d8aa5e5ad4330fbf7ab Mon Sep 17 00:00:00 2001 From: Katherine Perdue Date: Tue, 6 Aug 2024 11:51:01 -0400 Subject: [PATCH 1/2] Add diagnostics for target audience --- .../reindexer/Axis360Processor.java | 3 ++- .../reindexer/CloudLibraryProcessor.java | 1 + .../reindexer/GroupedWorkSolr2.java | 2 ++ .../reindexer/HooplaProcessor.java | 25 +++++++++++++++++++ .../reindexer/IlsRecordProcessor.java | 10 ++++++++ .../reindexer/MarcRecordProcessor.java | 12 ++++++++- .../reindexer/OverDriveProcessor.java | 7 ++++++ .../reindexer/PalaceProjectProcessor.java | 2 ++ 8 files changed, 60 insertions(+), 2 deletions(-) diff --git a/code/reindexer/src/org/aspen_discovery/reindexer/Axis360Processor.java b/code/reindexer/src/org/aspen_discovery/reindexer/Axis360Processor.java index e565a25583..0ab47cd3b4 100644 --- a/code/reindexer/src/org/aspen_discovery/reindexer/Axis360Processor.java +++ b/code/reindexer/src/org/aspen_discovery/reindexer/Axis360Processor.java @@ -275,7 +275,8 @@ private String loadAxis360Subjects(AbstractGroupedWorkSolr groupedWork, JSONObje groupedWork.addLiteraryFormsFull(literaryFormFull); } } - + if (groupedWork != null && groupedWork.isDebugEnabled()) {groupedWork.addDebugMessage("Target audience is " + targetAudience + " based on Boundless record", 2);} + if (groupedWork != null && groupedWork.isDebugEnabled()) {groupedWork.addDebugMessage("Full target audience list is " + targetAudienceFull + " based on Boundless record", 2);} groupedWork.addTargetAudience(targetAudience); groupedWork.addTargetAudienceFull(targetAudienceFull); diff --git a/code/reindexer/src/org/aspen_discovery/reindexer/CloudLibraryProcessor.java b/code/reindexer/src/org/aspen_discovery/reindexer/CloudLibraryProcessor.java index f48fdcd7e2..b7f9511b9f 100644 --- a/code/reindexer/src/org/aspen_discovery/reindexer/CloudLibraryProcessor.java +++ b/code/reindexer/src/org/aspen_discovery/reindexer/CloudLibraryProcessor.java @@ -150,6 +150,7 @@ public void processRecord(AbstractGroupedWorkSolr groupedWork, String identifier if (targetAudience.equals("ADULT")) { targetAudience = "Adult"; } + if (groupedWork != null && groupedWork.isDebugEnabled()) {groupedWork.addDebugMessage("Target audience is " + targetAudience + " based on cloudLibrary record", 2);} groupedWork.addTargetAudience(targetAudience); boolean isAdult = targetAudience.equalsIgnoreCase("Adult"); diff --git a/code/reindexer/src/org/aspen_discovery/reindexer/GroupedWorkSolr2.java b/code/reindexer/src/org/aspen_discovery/reindexer/GroupedWorkSolr2.java index ce4430e1db..2c4ae23d2d 100644 --- a/code/reindexer/src/org/aspen_discovery/reindexer/GroupedWorkSolr2.java +++ b/code/reindexer/src/org/aspen_discovery/reindexer/GroupedWorkSolr2.java @@ -165,6 +165,8 @@ SolrInputDocument getSolrDocument(BaseIndexingLogEntry logEntry) { if (targetAudience.isEmpty()) { targetAudience.add(groupedWorkIndexer.getTreatUnknownAudienceAs()); } + if (this.isDebugEnabled()) {this.addDebugMessage("Final target audience is " + targetAudience, 4);} + if (this.isDebugEnabled()) {this.addDebugMessage("Final full target audience is " + targetAudienceFull, 4);} doc.addField("target_audience", targetAudience); doc.addField("system_list", systemLists); //Date added to catalog diff --git a/code/reindexer/src/org/aspen_discovery/reindexer/HooplaProcessor.java b/code/reindexer/src/org/aspen_discovery/reindexer/HooplaProcessor.java index daed5c0f67..09c702a902 100644 --- a/code/reindexer/src/org/aspen_discovery/reindexer/HooplaProcessor.java +++ b/code/reindexer/src/org/aspen_discovery/reindexer/HooplaProcessor.java @@ -161,6 +161,7 @@ void processRecord(AbstractGroupedWorkSolr groupedWork, String identifier, BaseI isKids = true; groupedWork.addTargetAudience("Juvenile"); groupedWork.addTargetAudienceFull("Juvenile"); + if (groupedWork != null && groupedWork.isDebugEnabled()) {groupedWork.addDebugMessage("Target/full target audience is Juvenile based on Hoopla record", 2);} }else { //Todo: Also check the genres (Children's, Teen boolean foundAudience = false; @@ -171,21 +172,27 @@ void processRecord(AbstractGroupedWorkSolr groupedWork, String identifier, BaseI isTeen = true; groupedWork.addTargetAudience("Young Adult"); groupedWork.addTargetAudienceFull("Adolescent (14-17)"); + if (groupedWork != null && groupedWork.isDebugEnabled()) {groupedWork.addDebugMessage("Target audience is Young Adult based on Hoopla genre", 2);} + if (groupedWork != null && groupedWork.isDebugEnabled()) {groupedWork.addDebugMessage("Full target audience is Adolescent (14-17) based on Hoopla genre", 2);} foundAudience = true; } else if (genres.getString(i).startsWith("Young Adult")) { isTeen = true; groupedWork.addTargetAudience("Young Adult"); groupedWork.addTargetAudienceFull("Adolescent (14-17)"); + if (groupedWork != null && groupedWork.isDebugEnabled()) {groupedWork.addDebugMessage("Target audience is Young Adult based on Hoopla genre", 2);} + if (groupedWork != null && groupedWork.isDebugEnabled()) {groupedWork.addDebugMessage("Full target audience is Adolescent (14-17) based on Hoopla genre", 2);} foundAudience = true; } else if (genres.getString(i).equals("Children's")) { isKids = true; groupedWork.addTargetAudience("Juvenile"); groupedWork.addTargetAudienceFull("Juvenile"); + if (groupedWork != null && groupedWork.isDebugEnabled()) {groupedWork.addDebugMessage("Target/full target audience is Juvenile based on Hoopla genre", 2);} foundAudience = true; } else if (genres.getString(i).equals("Adult")) { isAdult = true; groupedWork.addTargetAudience("Adult"); groupedWork.addTargetAudienceFull("Adult"); + if (groupedWork != null && groupedWork.isDebugEnabled()) {groupedWork.addDebugMessage("Target/full target audience is Adult based on Hoopla genre", 2);} foundAudience = true; } } @@ -198,6 +205,7 @@ void processRecord(AbstractGroupedWorkSolr groupedWork, String identifier, BaseI isAdult = true; groupedWork.addTargetAudience("Adult"); groupedWork.addTargetAudienceFull("Adult"); + if (groupedWork != null && groupedWork.isDebugEnabled()) {groupedWork.addDebugMessage("Target/full target audience is Adult based on Hoopla rating", 2);} } else { if (kind.equals("MOVIE") || kind.equals("TELEVISION")) { switch (rating) { @@ -209,6 +217,7 @@ void processRecord(AbstractGroupedWorkSolr groupedWork, String identifier, BaseI isAdult = true; groupedWork.addTargetAudience("Adult"); groupedWork.addTargetAudienceFull("Adult"); + if (groupedWork != null && groupedWork.isDebugEnabled()) {groupedWork.addDebugMessage("Target/full target audience is Adult based on Hoopla rating " + rating, 2);} break; case "PG-13": case "PG13": @@ -221,8 +230,11 @@ void processRecord(AbstractGroupedWorkSolr groupedWork, String identifier, BaseI isTeen = true; groupedWork.addTargetAudience("Young Adult"); groupedWork.addTargetAudienceFull("Adolescent (14-17)"); + if (groupedWork != null && groupedWork.isDebugEnabled()) {groupedWork.addDebugMessage("Target audience is Young Adult based on Hoopla rating " + rating, 2);} + if (groupedWork != null && groupedWork.isDebugEnabled()) {groupedWork.addDebugMessage("Full target audience is Adolescent (14-17) based on Hoopla rating " + rating, 2);} groupedWork.addTargetAudience("Adult"); groupedWork.addTargetAudienceFull("Adult"); + if (groupedWork != null && groupedWork.isDebugEnabled()) {groupedWork.addDebugMessage("Target/full target audience is Adult based on Hoopla rating " + rating, 2);} break; case "TVY": case "TVY7": @@ -230,6 +242,7 @@ void processRecord(AbstractGroupedWorkSolr groupedWork, String identifier, BaseI isKids = true; groupedWork.addTargetAudience("Juvenile"); groupedWork.addTargetAudienceFull("Juvenile"); + if (groupedWork != null && groupedWork.isDebugEnabled()) {groupedWork.addDebugMessage("Target/full target audience is Juvenile based on Hoopla rating " + rating, 2);} break; case "TVG": case "G": @@ -238,6 +251,7 @@ void processRecord(AbstractGroupedWorkSolr groupedWork, String identifier, BaseI isAdult = true; groupedWork.addTargetAudience("General"); groupedWork.addTargetAudienceFull("General"); + if (groupedWork != null && groupedWork.isDebugEnabled()) {groupedWork.addDebugMessage("Target/full target audience is General based on Hoopla rating " + rating, 2);} break; default: //todo, do we want to add additional ratings here? @@ -250,17 +264,21 @@ void processRecord(AbstractGroupedWorkSolr groupedWork, String identifier, BaseI isKids = true; groupedWork.addTargetAudience("Juvenile"); groupedWork.addTargetAudienceFull("Juvenile"); + if (groupedWork != null && groupedWork.isDebugEnabled()) {groupedWork.addDebugMessage("Target/full target audience is Juvenile based on Hoopla rating " + rating, 2);} break; case "PA": case "EX": isAdult = true; groupedWork.addTargetAudience("Adult"); groupedWork.addTargetAudienceFull("Adult"); + if (groupedWork != null && groupedWork.isDebugEnabled()) {groupedWork.addDebugMessage("Target/full target audience is Adult based on Hoopla rating " + rating, 2);} break; case "T": isTeen = true; groupedWork.addTargetAudience("Young Adult"); groupedWork.addTargetAudienceFull("Adolescent (14-17)"); + if (groupedWork != null && groupedWork.isDebugEnabled()) {groupedWork.addDebugMessage("Target audience is Young Adult based on Hoopla rating " + rating, 2);} + if (groupedWork != null && groupedWork.isDebugEnabled()) {groupedWork.addDebugMessage("Full target audience is Adolescent (14-17) based on Hoopla rating " + rating, 2);} break; case "T+": default: @@ -268,8 +286,11 @@ void processRecord(AbstractGroupedWorkSolr groupedWork, String identifier, BaseI isTeen = true; groupedWork.addTargetAudience("Young Adult"); groupedWork.addTargetAudienceFull("Adolescent (14-17)"); + if (groupedWork != null && groupedWork.isDebugEnabled()) {groupedWork.addDebugMessage("Target audience is Young Adult based on Hoopla rating " + rating, 2);} + if (groupedWork != null && groupedWork.isDebugEnabled()) {groupedWork.addDebugMessage("Full target audience is Adolescent (14-17) based on Hoopla rating " + rating, 2);} groupedWork.addTargetAudience("Adult"); groupedWork.addTargetAudienceFull("Adult"); + if (groupedWork != null && groupedWork.isDebugEnabled()) {groupedWork.addDebugMessage("Target/full target audience is Adult based on Hoopla rating " + rating, 2);} } } else { @@ -279,12 +300,16 @@ void processRecord(AbstractGroupedWorkSolr groupedWork, String identifier, BaseI groupedWork.addTargetAudienceFull("Adolescent (14-17)"); groupedWork.addTargetAudience("Adult"); groupedWork.addTargetAudienceFull("Adult"); + if (groupedWork != null && groupedWork.isDebugEnabled()) {groupedWork.addDebugMessage("Target audience is Young Adult based on Hoopla rating " + rating, 2);} + if (groupedWork != null && groupedWork.isDebugEnabled()) {groupedWork.addDebugMessage("Full target audience is Adolescent (14-17) based on Hoopla rating " + rating, 2);} + if (groupedWork != null && groupedWork.isDebugEnabled()) {groupedWork.addDebugMessage("Target/full target audience is Adult based on Hoopla rating " + rating, 2);} } } } else if (!foundAudience) { isAdult = true; groupedWork.addTargetAudience("Adult"); groupedWork.addTargetAudienceFull("Adult"); + if (groupedWork != null && groupedWork.isDebugEnabled()) {groupedWork.addDebugMessage("Target/full target audience is Adult based on Hoopla record", 2);} } } diff --git a/code/reindexer/src/org/aspen_discovery/reindexer/IlsRecordProcessor.java b/code/reindexer/src/org/aspen_discovery/reindexer/IlsRecordProcessor.java index 2ec161a3cc..fa82e53291 100644 --- a/code/reindexer/src/org/aspen_discovery/reindexer/IlsRecordProcessor.java +++ b/code/reindexer/src/org/aspen_discovery/reindexer/IlsRecordProcessor.java @@ -1788,45 +1788,55 @@ HashSet translateCollection(String mapName, Set values, String i protected void loadTargetAudiences(AbstractGroupedWorkSolr groupedWork, org.marc4j.marc.Record record, ArrayList printItems, String identifier) { if (settings.getDetermineAudienceBy() == 0) { + if (groupedWork != null && groupedWork.isDebugEnabled()) {groupedWork.addDebugMessage("Determining target audience by bib record data", 1);} super.loadTargetAudiences(groupedWork, record, printItems, identifier, settings.getTreatUnknownAudienceAs()); }else{ HashSet targetAudiences = new HashSet<>(); if (settings.getDetermineAudienceBy() == 1) { //Load based on collection + if (groupedWork != null && groupedWork.isDebugEnabled()) {groupedWork.addDebugMessage("Determining audience by collection", 1);} for (ItemInfo printItem : printItems){ String collection = printItem.getCollection(); if (collection != null) { + if (groupedWork != null && groupedWork.isDebugEnabled()) {groupedWork.addDebugMessage("Target audience code includes " + collection.toLowerCase() + " based on collection for item " + printItem.getItemIdentifier(), 1);} targetAudiences.add(collection.toLowerCase()); } } }else if (settings.getDetermineAudienceBy() == 2) { //Load based on shelf location + if (groupedWork != null && groupedWork.isDebugEnabled()) {groupedWork.addDebugMessage("Determining audience by location", 1);} for (ItemInfo printItem : printItems){ String shelfLocationCode = printItem.getShelfLocationCode(); if (shelfLocationCode != null) { + if (groupedWork != null && groupedWork.isDebugEnabled()) {groupedWork.addDebugMessage("Target audience includes code " + shelfLocationCode.toLowerCase() + " based on shelf location for item " + printItem.getItemIdentifier(), 1);} targetAudiences.add(shelfLocationCode.toLowerCase()); } } }else if (settings.getDetermineAudienceBy() == 3){ //Load based on a specified subfield + if (groupedWork != null && groupedWork.isDebugEnabled()) {groupedWork.addDebugMessage("Determining audience by subfield " + settings.getAudienceSubfield(), 1);} for (ItemInfo printItem : printItems){ List audienceCodes = printItem.getSubfields(settings.getAudienceSubfield()); for (String audienceCode : audienceCodes) { String audienceCodeLower = audienceCode.toLowerCase(); if (hasTranslation("audience", audienceCodeLower)) { + if (groupedWork != null && groupedWork.isDebugEnabled()) {groupedWork.addDebugMessage("Target audience includes code " + audienceCodeLower + " based on subfield for item " + printItem.getItemIdentifier(), 1);} targetAudiences.add(audienceCodeLower); } } } } HashSet translatedAudiences = translateCollection("audience", targetAudiences, identifier, true); + if (groupedWork != null && groupedWork.isDebugEnabled()) {groupedWork.addDebugMessage("Target audience code(s) " + targetAudiences + " translate(s) to " + translatedAudiences, 1);} if (! settings.getTreatUnknownAudienceAs().equals("Unknown") && translatedAudiences.contains("Unknown")) { translatedAudiences.remove("Unknown"); translatedAudiences.add( settings.getTreatUnknownAudienceAs()); + if (groupedWork != null && groupedWork.isDebugEnabled()) {groupedWork.addDebugMessage("Replacing unknown target audience with " + settings.getTreatUnknownAudienceAs(), 1);} } if (translatedAudiences.isEmpty()){ //We didn't get anything from the items (including Unknown), check the bib record + if (groupedWork != null && groupedWork.isDebugEnabled()) {groupedWork.addDebugMessage("Could not find target audience based on item - checking the bib record", 1);} super.loadTargetAudiences(groupedWork, record, printItems, identifier, settings.getTreatUnknownAudienceAs()); }else { groupedWork.addTargetAudiences(translatedAudiences); diff --git a/code/reindexer/src/org/aspen_discovery/reindexer/MarcRecordProcessor.java b/code/reindexer/src/org/aspen_discovery/reindexer/MarcRecordProcessor.java index 7809ea04b3..5b5e2954e7 100644 --- a/code/reindexer/src/org/aspen_discovery/reindexer/MarcRecordProcessor.java +++ b/code/reindexer/src/org/aspen_discovery/reindexer/MarcRecordProcessor.java @@ -631,17 +631,21 @@ protected void loadTargetAudiences(AbstractGroupedWorkSolr groupedWork, org.marc targetAudienceChar = Character.toUpperCase(ohOhSixField.getData().charAt(5)); if (targetAudienceChar != ' ') { targetAudiences.add(Character.toString(targetAudienceChar)); + if (groupedWork != null && groupedWork.isDebugEnabled()) {groupedWork.addDebugMessage("Target audience determined by 006/5", 2);} } } if (targetAudiences.isEmpty() && ohOhEightField != null && ohOhEightField.getData().length() > 22) { targetAudienceChar = Character.toUpperCase(ohOhEightField.getData().charAt(22)); if (targetAudienceChar != ' ') { targetAudiences.add(Character.toString(targetAudienceChar)); + if (groupedWork != null && groupedWork.isDebugEnabled()) {groupedWork.addDebugMessage("Target audience determined by 008/22", 2);} } } else if (targetAudiences.isEmpty()) { targetAudiences.add(unknownAudienceLabel); + if (groupedWork != null && groupedWork.isDebugEnabled()) {groupedWork.addDebugMessage("Target audience " + unknownAudienceLabel + " because 006/5 and 008/22 did not exist", 2);} } } else { + if (groupedWork != null && groupedWork.isDebugEnabled()) {groupedWork.addDebugMessage("Target audience unknown based on Leader 6/7", 2);} targetAudiences.add(unknownAudienceLabel); } } catch (Exception e) { @@ -651,30 +655,36 @@ protected void loadTargetAudiences(AbstractGroupedWorkSolr groupedWork, org.marc } if (targetAudiences.isEmpty()) { + if (groupedWork != null && groupedWork.isDebugEnabled()) {groupedWork.addDebugMessage("Target audience is " + unknownAudienceLabel + " because 006/5 and 008/22 were both blank", 2);} targetAudiences.add(unknownAudienceLabel); } LinkedHashSet translatedAudiences; if (settings == null) { translatedAudiences = indexer.translateSystemCollection("target_audience", targetAudiences, identifier); + if (groupedWork != null && groupedWork.isDebugEnabled()) {groupedWork.addDebugMessage("Target audience is " + translatedAudiences + " based on system target_audience translation map", 2);} }else{ translatedAudiences = settings.translateCollection("target_audience", targetAudiences, identifier, indexer.getLogEntry(), logger, true); + if (groupedWork != null && groupedWork.isDebugEnabled()) {groupedWork.addDebugMessage("Target audience is " + translatedAudiences + " based on target_audience translation map in settings", 2);} } if (!unknownAudienceLabel.equals("Unknown") && translatedAudiences.contains("Unknown")){ translatedAudiences.remove("Unknown"); translatedAudiences.add(unknownAudienceLabel); + if (groupedWork != null && groupedWork.isDebugEnabled()) {groupedWork.addDebugMessage("Updating unknown target audience to " + unknownAudienceLabel, 2);} } groupedWork.addTargetAudiences(translatedAudiences); - LinkedHashSet translatedAudiencesFull; if (settings == null) { translatedAudiencesFull = indexer.translateSystemCollection("target_audience_full", targetAudiences, identifier); + if (groupedWork != null && groupedWork.isDebugEnabled()) {groupedWork.addDebugMessage("Full target audience is " + translatedAudiencesFull + " based on system target_audience translation map", 2);} }else { translatedAudiencesFull = settings.translateCollection("target_audience_full", targetAudiences, identifier, indexer.getLogEntry(), logger, true); + if (groupedWork != null && groupedWork.isDebugEnabled()) {groupedWork.addDebugMessage("Full target audience is " + translatedAudiencesFull + " based on target_audience translation map in settings", 2);} } if (!unknownAudienceLabel.equals("Unknown") && translatedAudiencesFull.contains("Unknown")){ translatedAudiencesFull.remove("Unknown"); translatedAudiencesFull.add(unknownAudienceLabel); + if (groupedWork != null && groupedWork.isDebugEnabled()) {groupedWork.addDebugMessage("Updating unknown full target audience to " + unknownAudienceLabel, 2);} } groupedWork.addTargetAudiencesFull(translatedAudiencesFull); } diff --git a/code/reindexer/src/org/aspen_discovery/reindexer/OverDriveProcessor.java b/code/reindexer/src/org/aspen_discovery/reindexer/OverDriveProcessor.java index 90d476895a..2b736f5857 100644 --- a/code/reindexer/src/org/aspen_discovery/reindexer/OverDriveProcessor.java +++ b/code/reindexer/src/org/aspen_discovery/reindexer/OverDriveProcessor.java @@ -612,15 +612,22 @@ private String loadOverDriveSubjects(AbstractGroupedWorkSolr groupedWork, JSONOb if (curSubject.contains("Juvenile")) { targetAudience = "Juvenile"; targetAudienceFull = "Juvenile"; + if (groupedWork != null && groupedWork.isDebugEnabled()) {groupedWork.addDebugMessage("Target/full target audience is Juvenile based on Overdrive subject " + curSubject, 2);} } else if (curSubject.contains("Young Adult")) { targetAudience = "Young Adult"; targetAudienceFull = "Adolescent (14-17)"; + if (groupedWork != null && groupedWork.isDebugEnabled()) {groupedWork.addDebugMessage("Target audience is Young Adult based on Overdrive subject " + curSubject, 2);} + if (groupedWork != null && groupedWork.isDebugEnabled()) {groupedWork.addDebugMessage("Full target audience is Adolescent (14-17) based on Overdrive subject " + curSubject, 2);} } else if (curSubject.contains("Picture Book")) { targetAudience = "Juvenile"; targetAudienceFull = "Preschool (0-5)"; + if (groupedWork != null && groupedWork.isDebugEnabled()) {groupedWork.addDebugMessage("Target audience is Juvenile based on Overdrive subject " + curSubject, 2);} + if (groupedWork != null && groupedWork.isDebugEnabled()) {groupedWork.addDebugMessage("Full target audience is Preschool (0-5) based on Overdrive subject " + curSubject, 2);} } else if (curSubject.contains("Beginning Reader")) { targetAudience = "Juvenile"; targetAudienceFull = "Primary (6-8)"; + if (groupedWork != null && groupedWork.isDebugEnabled()) {groupedWork.addDebugMessage("Target audience is Juvenile based on Overdrive subject " + curSubject, 2);} + if (groupedWork != null && groupedWork.isDebugEnabled()) {groupedWork.addDebugMessage("Full target audience is Primary (6-8) based on Overdrive subject " + curSubject, 2);} } topics.add(curSubject); diff --git a/code/reindexer/src/org/aspen_discovery/reindexer/PalaceProjectProcessor.java b/code/reindexer/src/org/aspen_discovery/reindexer/PalaceProjectProcessor.java index aa6d73baa4..d122d1f9cd 100644 --- a/code/reindexer/src/org/aspen_discovery/reindexer/PalaceProjectProcessor.java +++ b/code/reindexer/src/org/aspen_discovery/reindexer/PalaceProjectProcessor.java @@ -235,9 +235,11 @@ void processRecord(AbstractGroupedWorkSolr groupedWork, String identifier, BaseI audience = "Unknown"; groupedWork.addTargetAudience("Unknown"); groupedWork.addTargetAudienceFull("Unknown"); + if (groupedWork != null && groupedWork.isDebugEnabled()) {groupedWork.addDebugMessage("Target/full target audience is unknown based on Palace Project record", 2);} }else { groupedWork.addTargetAudience(audience); groupedWork.addTargetAudienceFull(audience); + if (groupedWork != null && groupedWork.isDebugEnabled()) {groupedWork.addDebugMessage("Target/full target audience is " + audience + " based on Palace Project record", 2);} } if (metadata.has("narrator")) { From 661863115a49fa60cbdf9375f6b8d03bc48cda2f Mon Sep 17 00:00:00 2001 From: Katherine Perdue Date: Tue, 6 Aug 2024 11:57:21 -0400 Subject: [PATCH 2/2] Updated release notes --- code/web/release_notes/24.09.00.MD | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/web/release_notes/24.09.00.MD b/code/web/release_notes/24.09.00.MD index 09d5f8b1a7..0bf1c1f3c2 100644 --- a/code/web/release_notes/24.09.00.MD +++ b/code/web/release_notes/24.09.00.MD @@ -16,6 +16,8 @@ // katherine +### Indexing Updates +- Add target audience to grouped works diagnostic panel (Ticket 134227) (*KP*) // kirstien ### Account Updates