Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MarkedIndividual indexing via OpenSearch #1000

Merged
merged 14 commits into from
Feb 3, 2025

Conversation

naknomum
Copy link
Member

@naknomum naknomum commented Jan 30, 2025

Index MarkedIndividual in OpenSearch

PR fixes #910

  • create mapping and fields to be indexed
  • add version on MarkedIndividual (and set it in modifying methods)
  • some utility methods in Occurrence, Relationship classes

@codecov-commenter
Copy link

codecov-commenter commented Jan 30, 2025

Codecov Report

Attention: Patch coverage is 0% with 247 lines in your changes missing coverage. Please review.

Project coverage is 0.13%. Comparing base (4c6aff1) to head (925e233).

Files with missing lines Patch % Lines
src/main/java/org/ecocean/MarkedIndividual.java 0.00% 193 Missing ⚠️
src/main/java/org/ecocean/Encounter.java 0.00% 31 Missing ⚠️
src/main/java/org/ecocean/Occurrence.java 0.00% 11 Missing ⚠️
src/main/java/org/ecocean/social/Relationship.java 0.00% 8 Missing ⚠️
src/main/java/org/ecocean/Annotation.java 0.00% 2 Missing ⚠️
src/main/java/org/ecocean/OpenSearch.java 0.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##              main   #1000      +/-   ##
==========================================
- Coverage     0.13%   0.13%   -0.01%     
  Complexity      29      29              
==========================================
  Files          573     573              
  Lines        63628   63866     +238     
  Branches     11024   11059      +35     
==========================================
  Hits            89      89              
- Misses       63520   63758     +238     
  Partials        19      19              
Flag Coverage Δ
backend 0.13% <0.00%> (-0.01%) ⬇️
frontend 0.13% <0.00%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@erinz2020 erinz2020 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me

@naknomum naknomum marked this pull request as ready for review February 3, 2025 21:24
@naknomum naknomum marked this pull request as draft February 3, 2025 21:25
@naknomum naknomum marked this pull request as ready for review February 3, 2025 22:02
@naknomum naknomum merged commit aae82a2 into main Feb 3, 2025
1 check passed
@naknomum naknomum deleted the 910_individuals_opensearch_indexing branch February 3, 2025 23:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

individuals indexed by opensearch
3 participants