Skip to content

Commit

Permalink
Merge pull request #991 from Veda-Gogineni/Issue_954-Backend_change_a…
Browse files Browse the repository at this point in the history
…dded_Noticeable_Scarring_field_to_Observation_Attribute

backend change to add Index Noticable Scarring field so it is searchable
  • Loading branch information
holmbergius authored Jan 25, 2025
2 parents b798976 + 62e6a68 commit 11d5611
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/ecocean/Encounter.java
Original file line number Diff line number Diff line change
Expand Up @@ -4059,7 +4059,7 @@ public void opensearchDocumentSerializer(JsonGenerator jgen, Shepherd myShepherd
jgen.writeStringField("occurrenceRemarks", this.getOccurrenceRemarks());
jgen.writeStringField("otherCatalogNumbers", this.getOtherCatalogNumbers());
jgen.writeBooleanField("publiclyReadable", this.isPubliclyReadable());

jgen.writeStringField("distinguishingScar", this.getDistinguishingScar());
String featuredAssetId = null;
List<MediaAsset> mas = this.getMedia();
jgen.writeNumberField("numberAnnotations", this.numNonTrivialAnnotations());
Expand Down

0 comments on commit 11d5611

Please sign in to comment.